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.

DataboundGrid with DateTimePicker cell type

Thread ID:

Created:

Updated:

Platform:

Replies:

6734 Aug 25,2003 04:11 PM Aug 27,2003 06:18 AM Windows Forms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 25, 2003 04:11 PM

Hi, We have a databound grid where we expect the user to enter a date and time (E.g.: appointment). The option we have is a MonthCalendar cell type with cell format. Lot of the times, our users forget to enter the time part. This is not as user friendly as a DateTimePickerExt with date and time. Is there anyway I can get a DateTimePickerExt celltype? thanks, - Reddy

Administrator [Syncfusion]
Replied On August 25, 2003 05:21 PM

You would have to derive CellModel and CellRenderer classes to use a DateTimePickerExt. You could try modeling things after the MonthCalendar cell. You would also probably want to handle the renderer.OnKeyDown method to manage the arrow keys.

Administrator [Syncfusion]
Replied On August 26, 2003 06:33 AM

Clay, Is there any chance of adding this to your next release? thanks, - Reddy

Administrator [Syncfusion]
Replied On August 27, 2003 06:18 AM

A datetimepicker cell will not be in 2.0. Our schedule is too tight. Attached is an initial try at this celltype. It only uses the spinner and keyboard to manage things (not showing the dropdown calendar). But if you want to edit time and dates with the keyboard and spinner, then it might serve your needs. One thing I did not is that our DateTimePickerExt is putting an extra blank in front of the year. This causes a little bounce when the cell activates unless the year is the first item. Also, there does not appear to be a horizontal alignment property for the DateTimePickerExt, so if you right-align the static cells, there is a bounce when you activate the datetimepicker.

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.

;