HI,
can't find the answer to this anywhere so hope you can help.
I want to programatically expand a group when the user clicks on the group header (not just on the expand icon/button) and subsequently select all the rows in the group (multiselect is true already.)
I know I can use Groups[0].Expand() and use the Rows collection, but I can't find any way to get the index of the group when the user clicks on the group header.
I can detect that the user has selected a group header row by checking the type of the CurrentRow or using e.CurrentRow in CurrentRowChanged, but can't get any further.
I also want to get a value from the group header - e.g. if the GroupByExpression groups on CustomerName, how do I find the value of CustomerName when the user selects a Group Header row?
Many Thanks,
Jason
can't find the answer to this anywhere so hope you can help.
I want to programatically expand a group when the user clicks on the group header (not just on the expand icon/button) and subsequently select all the rows in the group (multiselect is true already.)
I know I can use Groups[0].Expand() and use the Rows collection, but I can't find any way to get the index of the group when the user clicks on the group header.
I can detect that the user has selected a group header row by checking the type of the CurrentRow or using e.CurrentRow in CurrentRowChanged, but can't get any further.
I also want to get a value from the group header - e.g. if the GroupByExpression groups on CustomerName, how do I find the value of CustomerName when the user selects a Group Header row?
Many Thanks,
Jason