Kendo Grid Date-Spalte nicht formatiert
Ich habe einKendoGrid
Wie unten und wenn ich die Anwendung starte, erhalte ich nicht das erwartete Format fürdate
Säule.
$("#empGrid").kendoGrid({
dataSource: {
data: empModel.Value,
pageSize: 10
},
columns: [
{
field: "Name",
width: 90,
title: "Name"
},
{
field: "DOJ",
width: 90,
title: "DOJ",
type: "date",
format:"{0:MM-dd-yyyy}"
}
]
});
Wenn ich das starte, bekomme ich "2013-07-02T00:00:00Z
"in der DOJ-Spalte. Warum wird nicht formatiert? Irgendeine Idee?