I have a column defined like :-
<
telerik:GridDateTimeColumn
DataField
=
"ReceivedDateTime"
SortExpression
=
"ReceivedDateTime"
DataType
=
"System.DateTime"
DataFormatString
=
"{0:dd/MM/yyyy}"
/>
and the data is passed in a datatable, and defined using :-
row(ReceivedDateTime.FieldIndex) = ReceivedDateTime.Date
But the display is shown in 'dd/MM/yyyy hh:mm:ss a' format.
So, for a test, I changed the DataFormatString to be '{0:dd MMM yy}', the display is still in 'dd/MM/yyyy hh:mm:ss a' format.
So it's totally ignoring what is setup in the coulum definition. Why?
I did set it up as a String and pass in the text, but then you can't sort it properly.
(Telerik version 2017.3.913.45)