I am using api with json to get the date. With the attached code, I can get the date in correct format in Grid column but the time is always 12:00. How can I fix that.
{ field: "RequestedDate", title: "Requested Date", width: "150px", type:"datetime", template: "#= kendo.toString(kendo.parseDate(RequestedDate, 'yyyy-MM-dd'), 'dd MMM yyyy hh:mm') #" },
Thanks.
{ field: "RequestedDate", title: "Requested Date", width: "150px", type:"datetime", template: "#= kendo.toString(kendo.parseDate(RequestedDate, 'yyyy-MM-dd'), 'dd MMM yyyy hh:mm') #" },
Thanks.
What is the raw value of RequestedDate? It might be possible that the format is not recognized by kendo.parseDate.
Regards,
Alexander Valchev
Telerik
How can I make it work? Thanks.