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

[Solved] Defining default sort order per column?

1 Answer 126 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.
Renee
Top achievements
Rank 1
Renee asked on 02 Jun 2011, 05:21 PM
Is there a way to define a custom default sort order per column in the Grid?

Our use case is this:
1) When I sort by "name", it's not overly important which way it sorts first, and obviously "asc" makes sense off the bat.  Check.
2) When sorting by "number of stores in a group", I never want to see groups with 0 first - I want to see groups with stores in them.
3) When sorting by "date last analyzed", "asc" doesn't make sense either - I don't want to see the oldest things first - I want to see the items I just recently was analyzing.

-Renee

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 03 Jun 2011, 08:16 AM
Hi Renee,

 I am afraid this is not supported. The grid always alternates the current sort order. If it was "none" it becomes "asc", if it was "asc" - "desc" and "desc" - "unsorted".


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
Tags
Grid
Asked by
Renee
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or