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. Image for the cookie policy date
close icon

How to create Minimum summary for datetime

Hi,
GGC and C#
I try to add a Minimum summary row for a datetime column in GGC, such as BirthDay column.

I used following code:
//create MiniMum summary row for column "BirthDay"
GridSummaryRowDescriptor MinRow = new GridSummaryRowDescriptor("MinRow");
MinRow.Title="MinBirthDay";
GridSummaryColumnDescriptor sdMin = new GridSummaryColumnDescriptor("colMinBirthDay", SummaryType.StringAggregate, "BirthDay","");
MinRow.SummaryColumns.Add(sdMin );
gdBase.TableDescriptor.SummaryRows.Add(MinRow);

but it does not work.


Any example?

Thank you in advance.

Lan



1 Reply

RC Rajadurai C Syncfusion Team January 21, 2009 05:45 AM UTC

Hi Lan,

Thanks for your interest in Syncfusion products.

Apologies for the delay.

Please refer to the following sample link that shows how to set mininum/maximum summary value for datetime column using custom summary.
http://websamples.syncfusion.com/samples/kb/grid.windows/GGCMaxMinSummary/main.htm

Please let me know if you have any further concerns.

Regards,
Rajadurai


Loader.
Live Chat Icon For mobile
Up arrow icon