skafy Posted July 6, 2017 Share Posted July 6, 2017 Hi, Is it possible for dbgrid row editing to hide some edit cells when dbclick on row. Now when i load dataset before showing form I hide first three columns. (some id columns). Then When I dbclick on row it begins showing cells for those hidden columns. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 6, 2017 Share Posted July 6, 2017 Hi, Sorry, which build are you using ?! Quote Link to comment Share on other sites More sharing options...
skafy Posted July 6, 2017 Author Share Posted July 6, 2017 last from yesterday (1.0.0.1399) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 6, 2017 Share Posted July 6, 2017 I couldn't reproduce this issue, Can you make a testcase ? Quote Link to comment Share on other sites More sharing options...
skafy Posted July 7, 2017 Author Share Posted July 7, 2017 Hi, I've managed to create testcase. http://wikisend.com/download/975304/UniGuiTestCase.zip Quote Link to comment Share on other sites More sharing options...
skafy Posted July 11, 2017 Author Share Posted July 11, 2017 Enyone tried it ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 11, 2017 Share Posted July 11, 2017 Hi, A bit later I will let you know Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 11, 2017 Share Posted July 11, 2017 Sorry, If possible, can you make a testcase by not using FireDAC and fdb ?! Quote Link to comment Share on other sites More sharing options...
skafy Posted July 11, 2017 Author Share Posted July 11, 2017 ok I0ve made it. http://wikisend.com/download/785338/UniGuiTestCase.zip just add another record and you'ill see Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 11, 2017 Share Posted July 11, 2017 Hi, ok I0ve made it. http://wikisend.com/download/785338/UniGuiTestCase.zip just add another record and you'ill see Thanks for a testcase, but This file contains a virus or malware! Quote Link to comment Share on other sites More sharing options...
skafy Posted July 12, 2017 Author Share Posted July 12, 2017 I left .exe file inside. Now should be OK. UniGuiTestCase.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 12, 2017 Share Posted July 12, 2017 Ok I will try Quote Link to comment Share on other sites More sharing options...
skafy Posted July 25, 2017 Author Share Posted July 25, 2017 Have you tried it yet? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 25, 2017 Share Posted July 25, 2017 Hi, Have you tried it yet? Sorry for the delay, Can you try this approach for now ?!: procedure TMainForm.UniFormCreate(Sender: TObject); var DataSource: TDataSource; DataSet: TClientDataSet; begin with UniDBGrid1 do JSInterface.JSAddListener('reconfigure', JSControl.JSFunction('me', 'if (me.getPlugin("uniGridEditor")) me.getPlugin("uniGridEditor").editor=null')); try DataSet:= TClientDataSet.Create(Application); DataSet.FieldDefs.Add('ID', ftInteger, 0, False); DataSet.FieldDefs.Add('ID2', ftInteger, 0, False); DataSet.FieldDefs.Add('ID3', ftInteger, 0, False); ... Best regards, Quote Link to comment Share on other sites More sharing options...
skafy Posted July 31, 2017 Author Share Posted July 31, 2017 DD this solution works. Thank you. Hi, Sorry for the delay, Can you try this approach for now ?!: procedure TMainForm.UniFormCreate(Sender: TObject); var DataSource: TDataSource; DataSet: TClientDataSet; begin with UniDBGrid1 do JSInterface.JSAddListener('reconfigure', JSControl.JSFunction('me', 'if (me.getPlugin("uniGridEditor")) me.getPlugin("uniGridEditor").editor=null')); try DataSet:= TClientDataSet.Create(Application); DataSet.FieldDefs.Add('ID', ftInteger, 0, False); DataSet.FieldDefs.Add('ID2', ftInteger, 0, False); DataSet.FieldDefs.Add('ID3', ftInteger, 0, False); ... Best regards, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.