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

Sorting empty items are coming on top in ascending order

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ajish
Top achievements
Rank 1
Ajish asked on 10 Sep 2012, 09:53 AM
hi

When i apply sorting on telerik grid column

one column has got empty values ,so on sorting ascending on that cloumn empty values are coming on top

(Empty items has higher precedence than an item starting with  "A")

how to avoid this in telrik grid sorting

i want item with empty values to go at the bottm in both Ascending and Descending condition

any solution are welcome


1 Answer, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 13 Sep 2012, 08:01 AM
Hello,

RadGrid does not provide such biult-in setting. What you can try is to implement custom sorting for your case. You can find the below articles for more information on that matter:

Custom sort criteria
Programmatic sorting

All the best,
Milena
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Ajish
Top achievements
Rank 1
Answers by
Milena
Telerik team
Share this question
or