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 col invisible or visible

Thread ID:





89115 Aug 18,2009 01:20 PM UTC Aug 20,2009 01:51 PM UTC WinForms 1
Tags: GridControl
David Cui
Asked On August 18, 2009 01:20 PM UTC


for GGC, how to make one summary col invisible in Grand Total summary line ?

somehow, whenever i try to make summary col. invisible, it hide all of the group-level summary. Is there possible to show group-level summary, while not in grand total level ?



Lingaraj S [Syncfusion]
Replied On August 20, 2009 01:51 PM UTC

Hi David,

Thank you for your interest in Syncfusion products.

Please refer the below code to hide the summary column in top level group.

this.gridGroupingControl1.QueryCellStyleInfo += new GridTableCellStyleInfoEventHandler(gridGroupingControl1_QueryCellStyleInfo);
void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
if (e.TableCellIdentity.TableCellType==GridTableCellType.SummaryFieldCell||e.TableCellIdentity.TableCellType==GridTableCellType.GroupCaptionSummaryCell)
// To hide the column
if (e.TableCellIdentity.SummaryColumn != null&&e.TableCellIdentity.SummaryColumn.Name == "specifyyousummarycolumnname")
if (e.TableCellIdentity.DisplayElement.ParentGroup.IsTopLevelGroup)
e.Style.Text = 0;

Please let me know if you have any queries.

Lingaraj S.


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