Hi there,
I'm busy migrating from the ASP.Net MVC controls to the Kendo MVC controls and we're having an issue with the date column. For the ASP grid we would do:
columns.Bound(o => o.MyDate).Format("{0:dd MMMM yyyy}");
This worked well. Using the same line in the Kendo grid gave an incorrect date format, so for the Kendo grid we're doing this:
columns.Bound(o => o.MyDate).ClientTemplate("#= kendo.toString(toDate(MyDate),'dd MMMM yyyy') #");
With a bit of Javascript magic this works too. However, the filtering just shows text boxes instead of allowing me to choose a date like the ASP MVC filter does. I've attached a screenshot since I'm probably not explaining this very well...
Is this a bug or am I doing this incorrectly?
Thanks.
I'm busy migrating from the ASP.Net MVC controls to the Kendo MVC controls and we're having an issue with the date column. For the ASP grid we would do:
columns.Bound(o => o.MyDate).Format("{0:dd MMMM yyyy}");
This worked well. Using the same line in the Kendo grid gave an incorrect date format, so for the Kendo grid we're doing this:
columns.Bound(o => o.MyDate).ClientTemplate("#= kendo.toString(toDate(MyDate),'dd MMMM yyyy') #");
With a bit of Javascript magic this works too. However, the filtering just shows text boxes instead of allowing me to choose a date like the ASP MVC filter does. I've attached a screenshot since I'm probably not explaining this very well...
Is this a bug or am I doing this incorrectly?
Thanks.