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.

How to create Minimum summary for datetime

Thread ID:

Created:

Updated:

Platform:

Replies:

78998 Jan 15,2009 02:42 PM Jan 21,2009 12:45 AM Windows Forms 1
loading
Tags: GridControl
Lan Mo
Asked On January 15, 2009 02:42 PM

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



Rajadurai C [Syncfusion]
Replied On January 21, 2009 12:45 AM

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


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.

;