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

how to sort telerik radfilters in order while grid binding

3 Answers 26 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Malla reddy
Top achievements
Rank 1
Malla reddy asked on 16 Aug 2017, 10:32 PM

My current scenario is same as like here
Filter - Rad Grid filtering with Rad-filter 

https://demos.telerik.com/aspnet-ajax/filter/examples/integration/defaultcs.aspx?product=filter

If we go through this link, here columns are not alphabetical(ORDER-ID first and last FREIGHT)
grid should be the same way as UN-Ordered/written, but when adding expression/group, filters should be alphabetical order(freight should come first)
trying to load filters alphabetical order while loading grid at page load

3 Answers, 1 is accepted

Sort by
0
Malla reddy
Top achievements
Rank 1
answered on 17 Aug 2017, 05:12 PM
does telerik have this property to order only in filters
0
Malla reddy
Top achievements
Rank 1
answered on 17 Aug 2017, 06:35 PM

ticket number: 1125832

 

0
Marin Bratanov
Telerik team
answered on 21 Aug 2017, 10:11 AM

Hi Malla,

In this scenario, RadFilter takes initially the columns as defined in the grid. So, to order the filter options alphabetically in the filter, the grid columns are to be ordered: http://www.telerik.com/forums/sort-the-field-list.

If you would like to see such a feature in the control, I suggest you add it to the Feedback portal: https://feedback.telerik.com/project/108/Feedback/List/Feature%20Request. This will let you provide a specification and how it should be exposed for configuration, then the community can cast their votes and comment, and that will allow our management to prioritize such a task.

Perhaps you could reorder the filter menu options in the client-side showing event or in the server-side PreRender event, but I cannot guarantee this is possible and it is not a supported scenario for the control.

Regards,

Marin Bratanov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Filter
Asked by
Malla reddy
Top achievements
Rank 1
Answers by
Malla reddy
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or