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.

Customizing Summary Rows

Thread ID:





54785 Jan 17,2007 12:44 PM Jan 18,2007 05:52 AM Windows Forms 1
Tags: Grouping
Mohan Ranganna
Asked On January 17, 2007 12:44 PM


I am using Syncfusion Grouping Grid Control in a windows application running on .NET 1.1.

The grouping grid supports multiple groups (not using nested tables). A summary row in the grid displays the sum of the values for each group. To achieve the desired functionality, I am making use of the grid's default totalling with the use of SummaryType.DoubleAggregate.

I now need to ensure that the sum for the outermost group should not be shown if the group's displayed text is "XYZ".

I believe I could customize it using SummaryType.Custom and doing a custom totalling. Is there any other approach to achieve this?


Administrator [Syncfusion]
Replied On January 18, 2007 05:52 AM

Hi Mohan,

Thanks for being patience.

You can handle the QueryCellStyleInfo event and customize the summary value for the required group. Please refer to the following code snippet for more details.

>>>>>>>>>> Code Snippet <<<<<<<<<<<<
//QueryCellStyleInfo event
if (e.TableCellIdentity.TableCellType == GridTableCellType.SummaryFieldCell)
Element el = e.TableCellIdentity.DisplayElement;
if (el != null)
Group g = el.ParentGroup;
if (g.Category != null && g.Category.ToString() == "xyz")

Kindly let us know if you need any further assistance.
Have a nice day.

Best regards,


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.