Jump to content

Recommended Posts

Posted

Got a workaround but not yet satisfied.

  if Sender is TuniStringGrid then
    if LowerCase(EventName) = 'beforeedit' then
      if TUniStringGrid(sender).Col <> 3 then
      begin
        TUniStringGrid(sender).Col := 3;
        TUniStringGrid(sender).Row := Params['R'].AsInteger;
      end;

An editable column will be selected but shows a flickering in the screen.

Posted

Hi,

 

Can you try this approach for now ?!:

 

1. UniStringGrid -> Options -> goEditing = true

 

2. UniStringGrid -> ExtEvents -> add event beforeedit

function beforeedit(editor, context, eOpts)
{
    if (context.column.dataIndex == "1") {
        return false;
    }
}

Best regards.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...