Home › Forums › WinForms controls › Xceed Grid for WinForms › Iterate rows in grouped/sorted order › Reply To: Iterate rows in grouped/sorted order
You can get the groups of a gridcontrol from the Groups-property. From each group, you can:
– retrieve the subheading, by searching the GroupByRow in the HeaderRows-property of the group
– retrieve the sub-groups, from the Groups-property of the group
– retrieve the rows from the group, in the correct order, with the GetSortedDataRows-method (pass false as parameter)
Imported from legacy forums. Posted by Tommy (had 3112 views)