We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grouping Grid - Show Summary Column When Collapsed

Hi,

Let's say I have a grouping grid with some data and a summary row showing the totals. Now a user comes along and decides to group the grid by a certain column. When this happens, a summary row will appear in each of the grouped sections showing the subtotals. This is in addition to the grand total summary row. Now, this is all fine except that when the collapse the groups, he will only be able to see the grand total summary row. How do I make it so that the subtotal summaries are still visible even when the groups are collapsed?

(SyncFusion Version: 4.102.0.50)

Thanks.


1 Reply

AS Asarudheen S Syncfusion Team May 29, 2012 09:54 AM UTC

Hi Lee,

Thank you for your interest in Syncfusion products.

You can show the grouping summary even though if the group is collapsed by setting the property "ShowGroupSummaryWhenCollapsed" to true. Please refer the following code.


            this.gridGroupingControl1.TopLevelGroupOptions.ShowGroupSummaryWhenCollapsed = true;//for toplevel groups

            this.gridGroupingControl1.ChildGroupOptions.ShowGroupSummaryWhenCollapsed = true;//for child level groups

Sample:
http://www.syncfusion.com/downloads/Support/DirectTrac/94629/103678578252708.zip

Please let us know if this helps.

Regards,
Asarudheen.


103678_a49e08ed.zip

Loader.
Live Chat Icon For mobile
Up arrow icon