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

Date formatting and schema isn't working

2 Answers 9 Views
Grid
This is a migrated thread and some comments may be shown as answers.
OMER
Top achievements
Rank 1
OMER asked on 12 Mar 2014, 08:42 AM
Hi,
I have this grid example:
http://plnkr.co/edit/Oh5wApcRePJqNv0F31HJ?p=preview
In it, I state that one field will be to type: "date".
In the array creation, every corresponding element is equal to "new Date()".
Nevertheless, in the grid itself, the value appears as a string.
Any idea why?

2 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 13 Mar 2014, 07:35 AM
Hello OMER,

The correct format is as follows: format: "{0:HH:mm.ss}". Here is the updated example: http://plnkr.co/edit/Oh5wApcRePJqNv0F31HJ?p=preview

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
OMER
Top achievements
Rank 1
answered on 13 Mar 2014, 08:56 AM
Don't know how I missed that one :)
Thanks.
Tags
Grid
Asked by
OMER
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
OMER
Top achievements
Rank 1
Share this question
or