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

Summary text in group caption

Thread ID:





72996 Apr 15,2008 01:38 PM UTC Apr 18,2008 12:11 AM UTC WinForms 3
Tags: GridControl
Asked On April 15, 2008 01:38 PM UTC

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 11:47 PM UTC

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 09:46 AM UTC

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 18, 2008 12:11 AM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the 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