Hi,
I defined a DateTime column with TimePicker editor in a grid.
When I press the clock, the clock editor is opened, the problem is when I leave the cell without closing the editor (pressing the done, in some cases the editor is closed and in some times its still open, even when I am in a different cell (Decimal column for example). I can still change the time in the editor but it's not connect to anything.
This is how I defined the column:
I checked the CurrentCellChange: The event is fired and I can fill the new cell values. Still, the clock editor is opened and I don't know how to close it.
What am I doing wrong ????
I defined a DateTime column with TimePicker editor in a grid.
When I press the clock, the clock editor is opened, the problem is when I leave the cell without closing the editor (pressing the done, in some cases the editor is closed and in some times its still open, even when I am in a different cell (Decimal column for example). I can still change the time in the editor but it's not connect to anything.
This is how I defined the column:
var dateColumnOut = new GridViewDateTimeColumn { HeaderText = "Date Time Out", Name = Data.cJobCardData.JobCardColumns.DateTimeOut, FieldName = Data.cJobCardData.JobCardColumns.DateTimeOut, Format = DateTimePickerFormat.Long, EditorType = GridViewDateTimeEditorType.TimePicker, FormatString = "{0: M/d/yyyy h:mm tt}", TextAlignment = ContentAlignment.MiddleCenter, Width = colWidth };I checked the CurrentCellChange: The event is fired and I can fill the new cell values. Still, the clock editor is opened and I don't know how to close it.
What am I doing wrong ????