Home › Forums › WinForms controls › Xceed Grid for WinForms › Simple Grouping Question › Reply To: Simple Grouping Question
<pre>foreach(Group group in grid.Groups) {
object key = group.Key; // the value of the key of the group (‘Fruits’, ‘Vegetables’, …)
int rowCount = group.GetSortedDataRowCount(true); // the number of rows in the group
}</pre>
Imported from legacy forums. Posted by Tommy (had 335 views)