I'm using a TcxGrid with Grouping. I want to find out how many grouped rows there are but I can't seem to find the right property. There is a <mytableview>.GroupedItemCount
but that just refers to how many columns the grid is getting grouped by.
Basically I just want to know if all the groups are collapsed. I could keep a count of expanded groups by watching the GroupRowExpanded
and GroupRowCollapsed
events but it feels like there should be a better way.
My current plan is to compare the group count with <mytableview>.ViewData.RowCount
. If they are different then I must have an expanded group.
I'm guessing the answer is simple.. but the TcxGrid has so many options that I'm not having much luck finding the right one.