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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...