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. 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 ?! 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) 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 ? 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 Link to comment Share on other sites More sharing options...
skafy Posted July 11, 2017 Author Share Posted July 11, 2017 Enyone tried it ? 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 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 ?! 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 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! 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 Link to comment Share on other sites More sharing options...
Sherzod Posted July 12, 2017 Share Posted July 12, 2017 Ok I will try 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? 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, 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, Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now