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.
Unfortunately, activation email could not send to your email. Please try again.

Grouping Grid - Show Summary Column When Collapsed

Thread ID:

Created:

Updated:

Platform:

Replies:

103678 May 24,2012 01:27 AM Mar 13,2018 10:10 PM Windows Forms 1
loading
Tags: GridControl
SF Lee
Asked On May 24, 2012 01:27 AM

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.


Asarudheen S [Syncfusion]
Replied On May 29, 2012 05:54 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;