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?

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

 

Article ID: Published Date: Last Revised Date: Platform: Control:
6800 05/10/2016 05/10/2016 WinForms GridControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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