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

Group Sorting in RadGrid

1 Answer 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 09 Jan 2009, 03:07 PM
Hello,

In the RadGrid, we're currently using grouping on a date field.  This data is being sorted in a format that's incorrect when related to dates though.  The formatting is formatting the date as a string.  For instance, if the data is sorted in ascending order, the data is grouped in the RadGrid as:

1/11/2009
1/23/2009
1/7/2009
1/9/2009

I assume this is because the field is being compared as a string; is there a way to specify that the field is a date and to sort that way, or another way to handle this?

1 Answer, 1 is accepted

Sort by
0
Brian Mains
Top achievements
Rank 1
answered on 09 Jan 2009, 05:49 PM
Nevermind; the date was being formatted as a string.  Accidentally converted by another developer...
Tags
Grid
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Brian Mains
Top achievements
Rank 1
Share this question
or