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

[Solved] How to set the default sorting direction?

4 Answers 292 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
andy
Top achievements
Rank 1
andy asked on 23 Jun 2010, 12:31 PM
Simple question, how do I set the default sorting direction for individual columns in the grid?
For some columns ascending direction is fine, for others it is annoying to have to click twice to get descending.

Any easy switch/setting?

4 Answers, 1 is accepted

Sort by
0
Pat
Top achievements
Rank 1
answered on 20 Jan 2011, 01:39 AM
Is there an answer for this? I too want to set a default sort that's descending
0
Atanas Korchev
Telerik team
answered on 20 Jan 2011, 08:30 AM
Hello,

 Currently this is not possible. The grid always sorts in ascending order first. You can however display the grid initially sorted - check the sorting example for a rerefrence.

Regards,
Atanas Korchev
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
0
Pat
Top achievements
Rank 1
answered on 20 Jan 2011, 05:54 PM
Thanks! That worked. That sample BTW is for a default descending sort
0
Mat
Top achievements
Rank 1
answered on 29 Aug 2012, 03:39 PM
Thanks for the solution...it helped me out today.
Tags
Grid
Asked by
andy
Top achievements
Rank 1
Answers by
Pat
Top achievements
Rank 1
Atanas Korchev
Telerik team
Mat
Top achievements
Rank 1
Share this question
or