Jean-Marc Kiener Posted October 16, 2017 Share Posted October 16, 2017 Hi, I found this entry but unfortunately no answer to it: http://forums.unigui.com/index.php?/topic/8553-tunidbtreegrid-get-a-specific-cell-value-rowcol/?hl=tunidbtreegrid My problem is that i have to detect if a user has clicked a "grouped" row cell to avoid the action in CellClick( Column: TUniDBGridColumn). Something like if column.GroupIndex > 0... Is there a mechanism for doing such things? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 17, 2017 Share Posted October 17, 2017 Hi, Sorry, Do you have two question in this topic? First, do you want like this ?!: procedure TMainForm.UniDBTreeGrid1CellClick(Column: TUniDBGridColumn); begin if "Row.childNodes = 0" then ShowMessage('clicked'); end; Best regards, Quote Link to comment Share on other sites More sharing options...
Jean-Marc Kiener Posted October 31, 2017 Author Share Posted October 31, 2017 Yes, i have to know if the cell i click on is on a grouped row or not. With "Row.ChildNodes = 0" i could detect this. That's ok. How can that be done? Quote Link to comment Share on other sites More sharing options...
kkelchev Posted April 15, 2019 Share Posted April 15, 2019 Do we have solution already for this ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 16, 2019 Share Posted April 16, 2019 7 hours ago, kkelchev said: Do we have solution already for this ? http://forums.unigui.com/index.php?/topic/11844-как-определить-находится-ли-ячейка-в-сгруппированном-ряду/&do=findComment&comment=63068 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 16, 2019 Share Posted April 16, 2019 On 10/31/2017 at 1:26 PM, Jean-Marc Kiener said: Yes, i have to know if the cell i click on is on a grouped row or not. With "Row.ChildNodes = 0" i could detect this. That's ok. How can that be done? http://forums.unigui.com/index.php?/topic/11844-как-определить-находится-ли-ячейка-в-сгруппированном-ряду/&do=findComment&comment=63068 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.