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.

Summary text in group caption

Thread ID:





72996 Apr 15,2008 09:38 AM Apr 17,2008 08:11 PM Windows Forms 3
Tags: GridControl
Asked On April 15, 2008 09:38 AM

Hi. I have a group that contains few rows and each of these some children rows. The group has a summary row that calculates the sum of a couple of columns. Is there any way to get the group caption to contain the summary text of some column?


Johnson [Syncfusion]
Replied On April 16, 2008 07:47 PM

Hi John,

Thank you for using Syncfusion products.

To add a summary in Caption you need to use below code snippet

this.gridGroupingControl1.ChildGroupOptions.ShowCaptionSummaryCells = true;
this.gridGroupingControl1.ChildGroupOptions.ShowSummaries = false;
this.gridGroupingControl1.ChildGroupOptions.CaptionSummaryRow = "Sum";
this.gridGroupingControl1.ChildGroupOptions.CaptionText = "{RecordCount} Items";

Refer below browser sample for reference.

{Install Drive}\Syncfusion\EssentialStudio\\Windows\Grid.Grouping.Windows\Samples\2.0\Summaries\SummaryIncaption\cs

Please let me know for further assistance.

Best regards,

Replied On April 17, 2008 05:46 AM

Thanks but i was actually looking to have it as part of the caption itself. So instead of saying "2 items" i would like it to say ""


Johnson [Syncfusion]
Replied On April 17, 2008 08:11 PM

Hi John,

Thank you for your update.

Here I have attached minimal sample that demonstrates how to add a Caption summary with Text. Please refer the attached sample.

Please let me know if you need further assistance.



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.