I have a grid with Category, Class, Product, and then some sales data. My user may group by Category, and then by Class, and then click one of the Group By rows (either the Top level, Category, or the nested level, Class, within Category). In the RowActivate event, I can tell that the activerow is a groupby row, but how do I determine the value (Category) or values (Category and Class) in the active groupby row?
The GroupByRow class has a Value property right on the row. So if you get the ActiveRow of the grid, you can cast it to a GroupByRow and then use the Value property.
To determine the values of it's parent groups, you would use the ParentRow property on the row to get the parent row, cast it to a GroupByRow (if it's not null) and get it's Value.