Jump to content

How to prevent focus on a column in unidbgrid?


rtalmeida

Recommended Posts

I'm sorry, sometimes I forget we have a time zone.

 

Agree, it's really not reasonable that it should take 12 hours for a message to be visible on the forum on the other side of the planet, but so it is...Just have to live with it.

Link to comment
Share on other sites

Hi,

 

Maybe you wanted like this ?!:

procedure TMainForm.UniFormReady(Sender: TObject);
begin
  with UniDBGrid1 do
  begin
    JSInterface.JSConfig('cellFocusable', [False], Columns[0].JSColumn);
    JSInterface.JSConfig('cellFocusable', [False], Columns[1].JSColumn);
  end;
end;
Link to comment
Share on other sites

On 9/9/2018 at 4:15 AM, rtalmeida said:

only works in form? I could not get it to work when the unidbgrid is in a frame, I need the column always to be left unrecognized. 

Sorry, can you please explain in more details, what problem do you have?

And if possible make a simple testcase for this

Link to comment
Share on other sites

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...