Hi,
Can you please provide the way to correct edit date type column in grid
I have following parts
defined model
var Model = kendo.data.Model.define({
id: "Id",
fields: {
SDate: { nullable: true, type: "date" } }});
and define column in grid
{
field: "SDate",
title: "Date",
type: "date",
template: "#= (SDate== null) ? ' ' : kendo.toString(toDate(SDate), 'MM/dd/yyyy') #"
}
When records come from json result template for this column shows date correctly but once I click into cell to edit date picker has \Date(123123123123) value as input. It seems like datepicker doesn't parse json date format to edit.
Any ideas on this?
Can you please provide the way to correct edit date type column in grid
I have following parts
defined model
var Model = kendo.data.Model.define({
id: "Id",
fields: {
SDate: { nullable: true, type: "date" } }});
and define column in grid
{
field: "SDate",
title: "Date",
type: "date",
template: "#= (SDate== null) ? ' ' : kendo.toString(toDate(SDate), 'MM/dd/yyyy') #"
}
When records come from json result template for this column shows date correctly but once I click into cell to edit date picker has \Date(123123123123) value as input. It seems like datepicker doesn't parse json date format to edit.
Any ideas on this?