Hi Susan,
Greetings from Syncfusion support.
We would like to inform you that, if you require to clear the DatePicker value (i.e) setting value as null, then it is a must to specify nullable type(DateTime?) for the date value column in Grid. This is the component intended behavior.
In case, if you need the column type as DateTime and it cannot be changed, then it is suggested to remove the clear button in DatePicker by setting ShowClearButton as false in Grid’s EditorSettings. So that, null value could not be set to SfDatePicker component.
You can remove the clear button in SfDatePicker render in Grid edit form by using the codes below,
|
public IEditorSettings DateEditParams = new DateEditCellParams{ Params = new DatePickerModel() { ShowClearButton = false }};
|
Please get back to us if you need further assistance.
Regards,
Renjith Singh Rajendran