skafy Posted July 6, 2017 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
Sherzod Posted July 6, 2017 Posted July 6, 2017 I couldn't reproduce this issue, Can you make a testcase ? Quote
skafy Posted July 7, 2017 Author Posted July 7, 2017 Hi, I've managed to create testcase. http://wikisend.com/download/975304/UniGuiTestCase.zip Quote
Sherzod Posted July 11, 2017 Posted July 11, 2017 Sorry, If possible, can you make a testcase by not using FireDAC and fdb ?! Quote
skafy Posted July 11, 2017 Author Posted July 11, 2017 ok I0ve made it. http://wikisend.com/download/785338/UniGuiTestCase.zip just add another record and you'ill see Quote
Sherzod Posted July 11, 2017 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
skafy Posted July 12, 2017 Author Posted July 12, 2017 I left .exe file inside. Now should be OK. UniGuiTestCase.zip Quote
Sherzod Posted July 25, 2017 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
skafy Posted July 31, 2017 Author 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
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.