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

Add Format

1 Answer 37 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
jwize
Top achievements
Rank 1
jwize asked on 25 Jul 2014, 12:39 AM
I am manually adding an object to the dataSouce property of the grid. As expect the item is added. The types of the fields include dates. The dates are not rendering propertly when they are manually added to the grid. 

/Date(1406185200000)/

This is obviously not the look I want in the columns. Can you let me know the best way to format the dates(hopefully by configuration). 

Thanks

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 28 Jul 2014, 06:48 AM
Hi Jaime,

Could you please provide more information about how you add these records to the Grid? Basically when the items are loaded using the "data" method (or "add" method) of the dataSource all date / numeric fields should be parsed - the dataSource parses these types only when they are loaded using the dataSource "transport".

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Data Source
Asked by
jwize
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or