bolossis Posted March 6, 2018 Share Posted March 6, 2018 Hi, there maybe a problem with both grids ( UniDBGrid and UniStringGrid ). When on any grid a fixed row exists then its always in front of everything. Example project and pics are attached Also another question please. On a UniStringGrid how can i just on a single click edit the cell and select its content? I mean there is no option like ClicksToEdit Thanks in advance Test UniGui.rar Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 6, 2018 Share Posted March 6, 2018 Hi, Which build are you using? Quote Link to comment Share on other sites More sharing options...
bolossis Posted March 6, 2018 Author Share Posted March 6, 2018 The latest released one --> uni-1.0.0.1425 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 6, 2018 Share Posted March 6, 2018 Hi, Try this approach for now: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniStringGridDep.ClientEvents.ExtEvents.Values['onafterrender'] := 'function afterrender(sender, eOpts){if (sender.headerCt) {sender.headerCt.el.setStyle("z-index", "auto")}; sender.view.el.setStyle("z-index", "auto");}'; end; * http://forums.unigui.com/index.php?/topic/5658-unidbdatetimepicker-always-in-front-side/ Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 6, 2018 Share Posted March 6, 2018 Hi, Also another question please. On a UniStringGrid how can i just on a single click edit the cell and select its content? I mean there is no option like ClicksToEdit Try this: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniStringGridDep.JSInterface.JSConfigPlugin('Ext.grid.plugin.CellEditing', ['clicksToEdit', 1]); end; Quote Link to comment Share on other sites More sharing options...
bolossis Posted March 7, 2018 Author Share Posted March 7, 2018 great thank you very much 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.