The data I am listing in the grid has a date field that can contain null dates. However, instead of displaying a blank cell for a null date, the grid display '1/1/0000'. Is there any way to get the grid to display a blank cell for a null date?
The same goes for a null value in a number field. The grid displays zeros when I would just like to have the cell blank.
Thanks.
DynoComp
What kind of data source are you using? The grid should be able to display a null in a date field if the data source actually returns null. But the DateTime data type in DotNet cannot handle nulls, so what data type is the field you are looking at here?
Was this ever resolved? My data source is an array of data objects. If any of the date fields are null, they are actually set to 1/1/0001 (MinValue).
eric
I am having the same problem with dates.it displays a "01/001/0001" for a date that is null in the database.
how do I havdle this in the wingrid.
thanks