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.

SummaryField Cell in Grouping Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

57782 Mar 10,2007 12:41 PM Mar 12,2007 03:07 PM Windows Forms 1
loading
Tags: Grouping
Prem
Asked On March 10, 2007 12:41 PM

I am trying to format the totals in the summary field cell as "{Sum:#,###;(#,###);0}" which is working fine. Also, I am trying to change the color to red if the value is less than zero.

I am using the code snippet in the attachment in the QueryCellStyleInfo event handler of the grid.
But that code is never executed because the celltype never equates to SummaryFieldCell for some reason.

As a work around - I changed the SummaryFieldCell cell type to Currency. This does what I am looking for except that the DecimalGroupSeparator shows up as "." instead of "," even though I explicitly set the CurrencyGroupSeparator as ",".

Any help is appreciated.

Thanks,

Code17.zip

Administrator [Syncfusion]
Replied On March 12, 2007 03:07 PM

Hi Prem,

Please try the attached sample and let me know if this helps.
http://websamples.syncfusion.com/samples/Grid.Windows/DefiningSummaries_CS/main.htm

Best regards,
Haneef

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.

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.

;