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

How to customize the calendar cell type?

Platform: WinForms |
Control: GridControl |
Published Date: May 10, 2016 |
Last Revised Date: May 10, 2016

Grid does not have DateTimePicker CellType. To set the DateTimePicker cell type, you can create a custom cell model/renderer that implements the DateTimePicker CellType and the style of the DateTimePicker can be customized using the renderer.

Creating CellModel

C#

 

VB

Creating CellRenderer

In the custom cell renderer constructor, the customization of the cell is achieved.

C#

VB

 

Adding CellModel and Assigning CellType

C#

 

VB

 

C:\Users\piruthiviraj.malaime\Desktop\img1.PNG

 

 

Sample Links

C#: CustomizeCalendar_CS

VB: CustomizeCalendar_VB

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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