kendo-uikendo-gridkendo-datepicker

Date format issue in Kendo Grid with inline editing


I wrote such schema for my date field:

  StartDate: { type: "date", format: "{0:dd/MM/yyyy}" }

and a column definition:

  {
     field: "StartDate",
     title: "Start Date",
     template: '#= StartDate!=null ? kendo.toString(StartDate, "dd/MM/yyyy"): " " #',
     width: 100
  }

But I still see dates in format MM/dd/yyyy in datepicker during edition:

wrong date format

And if I try to write date manually in dd/MM/yyyy format I see:

validation exception


Solution

  • Setting culture is solved this issue

     kendo.culture("en-GB")