Home › Forums › WinForms controls › Xceed Grid for WinForms › Prevent GridCell to show DateTime with GridDateTimePicker › Reply To: Prevent GridCell to show DateTime with GridDateTimePicker
First of all, I don’t think you have to set the CellEditor or CellViewer of the column: if you don’t set them, a default CellEditor and CellViewer will be used.
Second, you don’t have to loop through DataRowTemplate.Cells to find the Timestamp-cell. You can just get the cell like this: Cell cell = DataViewGrid.DataRowTemplate.Cells[“Timestamp”];
Imported from legacy forums. Posted by Tommy (had 204 views)