Category / Section
How to expand all the groups?
1 min read
The ExpandAllGroups method is used to expand all the groups in the GridGroupingControl.
C#
//Group by Col3
this.GridGroupingControl1.TableDescriptor.GroupedColumns.Add("Col3");
//Expand all group
this.GridGroupingControl1.Table.ExpandAllGroups();
VB
'Group by Col3
Me.GridGroupingControl1.TableDescriptor.GroupedColumns.Add("Col3")
'Expand all group
Me.GridGroupingControl1.Table.ExpandAllGroups()
Sample:
http://help.syncfusion.com/support/samples/kb/Grid.Web/6.1.0.34/GGExpandAll/ExpandAll.zip