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

[Solved] Initial Numeric Column Sort Order

1 Answer 127 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cliff
Top achievements
Rank 1
Cliff asked on 02 Nov 2010, 04:28 PM
Hi,

I am trying to get the Telerik Grid to initially sort numeric columns in descending order, so if the user has sorted by a column displaying a string, the changes the sort to sort by a numeric field, the initial sort will be descending, not ascending. Is this possible?

Regards

Cliff.

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 05 Nov 2010, 05:47 PM
Hi Cliff,


You can use SortDescriptors in your RadGridView in order to achieve the desired result as shown in the attached example. Also I would suggest you to review our Custom Sorting topic in our online documentation library.

Please see the attached project and let me know if this works in your scenario.

Sincerely yours,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Cliff
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or