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
If you can't chance the value to null, it sounds to me like the data source you are binding to the grid will not allow nulls. The DateTime data type in DotNet (as I said above) is a struct and cannot be set to null.