Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
5520
binding a date column with null values
posted

Hi,

i have an xamGrid which have the in the itemsSource a date column.

My problem is that null values are appearing "01/01/53" 

is there a way to make them null?

 

regards

  • 6912
    Verified Answer
    posted

    Hi,

    If the property used for the DateColumn is DateTime? (Nullable<DateTime>) and the value is null, the cell should look like the first cell in the NDateTime column in the screenshot below.

    If your property is not nullable, the date will be displayed (like in the DateTime column above).

    Regards