This is a migrated thread and some comments may be shown as answers.

Kendo Grid Format null

1 Answer 235 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mathew
Top achievements
Rank 1
Mathew asked on 17 Jan 2019, 06:50 PM

I have a grid with a column format {0:d} when passing in a null value its returning 12/31/1969.

<GridColumn

key= {"InvoiceDate"}
title= {"Inv Date"}
width= {85},
show= {true}
format= {"{0:d}"}
}

Any suggestions? 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 18 Jan 2019, 08:39 AM
Hello, Mathew,

Thank you for the code.

I made an example where I pass null to a date column with the format, and the column is empty:

https://stackblitz.com/edit/react-zztcds-kegdin?file=app/main.js

Please advise if I missed some important detail.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Mathew
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or