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

[Solved] JSON Date format not converting to string format in kendo grid edit popup

1 Answer 402 Views
Grid
This is a migrated thread and some comments may be shown as answers.
NAGARAJU
Top achievements
Rank 1
NAGARAJU asked on 02 Apr 2015, 01:10 PM
Hello,

I'm loading grid data from JSON object and grid itself date format showing as we expect ("MM/dd/YYYY") but in the grid edit popup it showing like JSON format ("/Date(1414666849223)/").

Please give me your suggestions on how can i display same date format in popup as well and find the attached screen shot for your reference, how it displaying in grid edit popup.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 06 Apr 2015, 06:28 AM
Hello Nagaraju,

The provided information suggests that the data type of the two date fields is not correctly defined in the schema.model.fields section of the Grid DataSource configuration.

http://demos.telerik.com/kendo-ui/grid/editing-inline

http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#configuration-schema.model

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