Hi all,
Here is my kendo grid declaration in the cshtml
columns: [
{ field: "MemberFirstName", title: "Member<br/>First Name" },
{ field: "MemberLastName", title: "Member<br/>Last Name" },
{ field: "ClientMemberID", title: "Client<br/>Member ID" },
{ field: "ProviderID", title: "Provider ID" },
{ field: "ProviderFirstName", title: "Provider<br/>First Name" },
{ field: "ProviderLastName", title: "Provider<br/>Last Name" },
{ field: "AppointmentDate", title: "Appointment<br/>Date" }
],
My last column is a date time column, i want to show only date value not the time.
I can see the data that i am binding and its clearly a date time value, When i see it in the UI, i see it as /Date(1331166600000)/
any one had this issue before?
I tried the following ways
template: '#= kendo.toString(AppointmentDate,"dd MMMM yyyy") #'
format: "{0:dd/MMMM/yyyy}"
None of the above two methods worked for me.
Here is my kendo grid declaration in the cshtml
columns: [
{ field: "MemberFirstName", title: "Member<br/>First Name" },
{ field: "MemberLastName", title: "Member<br/>Last Name" },
{ field: "ClientMemberID", title: "Client<br/>Member ID" },
{ field: "ProviderID", title: "Provider ID" },
{ field: "ProviderFirstName", title: "Provider<br/>First Name" },
{ field: "ProviderLastName", title: "Provider<br/>Last Name" },
{ field: "AppointmentDate", title: "Appointment<br/>Date" }
],
My last column is a date time column, i want to show only date value not the time.
I can see the data that i am binding and its clearly a date time value, When i see it in the UI, i see it as /Date(1331166600000)/
any one had this issue before?
I tried the following ways
template: '#= kendo.toString(AppointmentDate,"dd MMMM yyyy") #'
format: "{0:dd/MMMM/yyyy}"
None of the above two methods worked for me.