This is a migrated thread and some comments may be shown as answers.

Sorting in DateTime column

1 Answer 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alyssa
Top achievements
Rank 1
Alyssa asked on 18 Dec 2013, 01:30 PM
hi
 i have a DateTime column with datatype as DateTime. Im performing sorting, but its not sorting correctly.can anyone help?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Dec 2013, 01:41 PM
Hi Alyssa,

I was not able to replicate any issue, please try the following code snippet. If this doesn't help, provide your full code snippet.

ASPX:
<telerik:GridDateTimeColumn DataField="DateTimeValue" HeaderText="DateTime Format"
    DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}" >
</telerik:GridDateTimeColumn>

Thanks,
Shinu
Tags
Grid
Asked by
Alyssa
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or