20soft Posted September 21, 2019 Share Posted September 21, 2019 How to default uniDBGrid Selected Row? unigui version 1.90.0.1508 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 21, 2019 Share Posted September 21, 2019 1 hour ago, 20soft said: unigui version 1.90.0.1508 Which edition? Quote Link to comment Share on other sites More sharing options...
20soft Posted September 21, 2019 Author Share Posted September 21, 2019 On 9/21/2019 at 11:29 AM, Sherzod said: Which edition? Are you mean using version ? i use unigui version 1.90.0.1508. I want to restore grid selected into UniDBGrid from my data , How can i do? What I think I need is something like dbgrid1.selectedRows.add(someRowNum). Quote Link to comment Share on other sites More sharing options...
20soft Posted September 27, 2019 Author Share Posted September 27, 2019 There are no solutions? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 27, 2019 Share Posted September 27, 2019 16 minutes ago, 20soft said: There are no solutions? Hello, Sorry for the late reply. Firstly you can set this option: UniDBGrid1.Options.dgDontShowSelected=True Secondly, you can think about the select logic in this event: procedure TMainForm.UniDBGrid1AfterLoad(Sender: TUniDBGrid); begin end; http://forums.unigui.com/index.php?/topic/6309-multiselect-unidbgrid-select-rows-programmatically/ Quote Link to comment Share on other sites More sharing options...
20soft Posted September 27, 2019 Author Share Posted September 27, 2019 I'll try it, Thank you very much for the help. 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.