Category / Section
How to show summary row when the groups are collapsed in the WinForms GridGroupingControl?
1 min read
Group summary rows
The summary row is displayed only when the group caption row is expanded. Otherwise it is hidden. To show the summary row for the collapsed child groups, use the ShowGroupSummaryWhenCollapsed property.
C#
//Shows the Group Summary when Group is Collapsed. this.gridGroupingControl1.ChildGroupOptions.ShowGroupSummaryWhenCollapsed = true;
VB
'Shows the Group Summary when Group is Collapsed. Me.gridGroupingControl1.ChildGroupOptions.ShowGroupSummaryWhenCollapsed = True
The following screenshot displays the summary Rows when the group collapses.
Samples:
VB: ShowSummaryRows-VB-1420775256.zip
Reference link: https://help.syncfusion.com/windowsforms/gridgrouping/summaries#summary-in-caption