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.

Syncfusion crashes when Summary Row Format and Type are modified.

Thread ID:





74869 Jul 1,2008 09:38 AM Jul 4,2008 02:06 AM Windows Forms 2
Tags: GridControl
Hareesh Bharadwaj
Asked On July 1, 2008 09:38 AM

I am using Syncfusion version grid in one of my project. When I tried to modify the summerycolumn format syncfusion is throwing an exception.
But it is working fine while creating a new summery column. Exception message has been attached.
It will very helpful if anybody can suggest a good solution for this issue.

Hareesh Bharadwaj

Syncfusion crash_553145bd.zip

Hareesh Bharadwaj
Replied On July 1, 2008 11:41 PM

Please help me This problem is really happening with syncfusion grid.

Sri Rajan [Syncfusion]
Replied On July 4, 2008 02:06 AM

Hi Hareesh,

Thank you for your interest in Syncfusion products.

Please try this coding to change the Summary Column format and let me know if this helps.

void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
if (e.TableCellIdentity.TableCellType == GridTableCellType.SummaryFieldCell)
if (e.TableCellIdentity.SummaryColumn.Name == "Total")
GridTable table = e.TableCellIdentity.Table;
GridSummaryRow row = e.TableCellIdentity.DisplayElement as GridSummaryRow;
GridSummaryRowDescriptor summaryRowDescriptor = row.SummaryRowDescriptor;
GridSummaryColumnDescriptor sumCol1 = summaryRowDescriptor.SummaryColumns["Total"];
if (sumCol1 != null)
e.Style.TextColor = Color.Red;
sumCol1.Format = "{Sum:##.0000;}";

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.