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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Syncfusion crashes when Summary Row Format and Type are modified.

Thread ID:

Created:

Updated:

Platform:

Replies:

74869 Jul 1,2008 01:38 PM UTC Jul 4,2008 06:06 AM UTC WinForms 2
loading
Tags: GridControl
Hareesh Bharadwaj
Asked On July 1, 2008 01:38 PM UTC

Hi
I am using Syncfusion version 4.4.0.51 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.

Thanks,
Hareesh Bharadwaj



Syncfusion crash_553145bd.zip

Hareesh Bharadwaj
Replied On July 2, 2008 03:41 AM UTC

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


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

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,
Srirajan.


CONFIRMATION

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.

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

;