Hi Mariusz,
Thanks for contacting Syncfusion support.
To set null value for a GridDateTimeColumn the underlying property of the DateTimeColumn must be of nullable DateTime type. Please refer to the following code example and sample from the given location.
Code example :
/// <summary>
/// Gets or Sets the OrderDate
/// </summary>
[Display(Name = "Order Date")]
public DateTime? OrderDate
{
get
{
return _orderDate;
}
set
{
_orderDate = value;
}
} |
You can set null value for a DateTimeColumn by opening the calendar dropdown and select None option from the bottom of the calendar.
Regards,
Deivaselvan