GGC Summary row format

Hi, I am using grouping on the grid grouping control, and I have a summary row, but I need formatting in the summary row, e.g. ###,##0.00.
I set the appearance.anySummaryCell.Format but it is not working, am I doing something wrong?, or is this not supported.
Thank you.


1 Reply

JJ Jisha Joy Syncfusion Team August 27, 2008 11:25 AM UTC

Hi Louis,

We appreciate your interest in Syncfusion products.


If you want to apply format to the Summary cell, you can specify the formatting in GridSummaryColumnDescriptor as the following code snippet.


GridSummaryColumnDescriptor summaryColumn2 = new GridSummaryColumnDescriptor("FreightTotal", SummaryType.DoubleAggregate, "Freight", "{Sum:#,###.00}");


Please refer the sample in the below link that illustrates the above.

http://websamples.syncfusion.com/samples/Grid.Windows/GGCSummaryFormatting/main.htm

Regards,
Jisha



Loader.
Up arrow icon