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

Adding DateTimePicker to GridGroupingControl

Thread ID:





107020 Feb 7,2013 02:46 PM UTC Feb 8,2013 09:32 AM UTC WinForms 1
Tags: GridControl
Gaukhar Massabayeva
Asked On February 7, 2013 02:46 PM UTC

I was hoping someone could help me learn how to add DateTimePicker CellType.
Thank you

Vinish Kumar K [Syncfusion]
Replied On February 8, 2013 09:32 AM UTC

Hi Gaukhar Massabayeva,


Thank you for your interested in Syncfusion products,



DateTimePickerCell in Grid.

You can able to set the datetimepicker cell  in GGC by querycellInfor event. Set the cell type as datetimecell this will helps you to handle DateTime selection in GGC. Please refer the following code.


void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e)


            if (e.TableCellIdentity.Column != null && e.TableCellIdentity.Column.Name == "ExpiryDate")


                e.Style.CellType = "DateTimeCell";

                e.Style.CellValueType = typeof(DateTime);

                e.Style.Format = "dd/MM/yyyy mm:hh";







Please refer the above forum link also about this cell type. We have implement this in attached Sample file please refer this for your better experience.


Please let me know if you have further concerns.





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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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