TobiS Posted September 7, 2016 Share Posted September 7, 2016 Hello, im new to the unigui component pack and i am right now trying to programmatically select one or multiple rows. Is there a way to do this, since i didnt find a procedure or function in the TUniDBGrid that does that. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 7, 2016 Share Posted September 7, 2016 Hi, For now can you try this?!: http://forums.unigui.com/index.php?/topic/6309-multiselect-unidbgrid-select-rows-programmatically/&do=findComment&comment=33604 Best regards. Quote Link to comment Share on other sites More sharing options...
TobiS Posted September 7, 2016 Author Share Posted September 7, 2016 Thank you very much didnt see that there was a similar topic already. I will try that. Quote Link to comment Share on other sites More sharing options...
TobiS Posted September 9, 2016 Author Share Posted September 9, 2016 Your solution works fine but i wont work if i use it mutliple times in a loop. It only selects the last one it should and the other rows are not selected anymore, even though multiselect is enabled. Do i need to change the UniSession.AddJS string and add all rows that need to be selected in one? Does the AddJS overwrite the last addjs if it is the same Grid? 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.