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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridGrouping Summary Row Title

Thread ID:

Created:

Updated:

Platform:

Replies:

26104 Mar 14,2005 07:52 PM UTC Mar 16,2005 02:36 PM UTC WinForms 3
loading
Tags: GridControl
vbaker
Asked On March 14, 2005 07:52 PM UTC

I have a GridGroupingControl with Master-Details data. When I add a Summary Row to show the sum of values of one of the columns in the Master data, only the first letter of the summary row title is visible. How can I fix this? Also, how can I create a second summary row that displays a grand total of the values of a column contained in the details data? Thanks, Van Baker

Administrator [Syncfusion]
Replied On March 15, 2005 01:04 AM UTC

Here is a sample showing how you can use TableModel.QueryCoveredRange to let the cell holding the row title to expand to 2 cells. It also shows a summary in the detail nested table. http://www.syncfusion.com/Support/user/uploads/CS_c7b078fd.zip

vbaker
Replied On March 15, 2005 06:22 PM UTC

That helps with the column span issue (although repainting evidently needs to be tweaked if the title spans more that 2 columns and the grid is scrolled horizontally.) But, I also wanted to display the grand total of all the values of a column in the nested table using a summary row in the master table. Is this possible? >Here is a sample showing how you can use TableModel.QueryCoveredRange to let the cell holding the row title to expand to 2 cells. It also shows a summary in the detail nested table. > >http://www.syncfusion.com/Support/user/uploads/CS_c7b078fd.zip >

Administrator [Syncfusion]
Replied On March 16, 2005 02:36 PM UTC

If I understand what you want, here is sample that does it. http://www.syncfusion.com/Support/user/uploads/GGC_MasterDetails_20e9a82d.zip It adds a second summary row to the master table which serves as a place holder. Then this placeholder row is populated in a QueryCellStyleInfo event. To get the value that is displayed, the nested details table is set as the data source for a Grouping.Engine object. This object is used to manage the summary calculation that you want on the whole child table.

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon

;