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

Grid Filter options in Alphabetical order

1 Answer 444 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sp
Top achievements
Rank 1
Veteran
Sp asked on 17 Sep 2020, 12:34 PM

Hi Team,

 

How can we set Grid filters in alphabetical order?

 

Thanks & Regards,

Sp.

1 Answer, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 21 Sep 2020, 05:44 AM

Hi Sp,

Based on the provided information, I suspect that you are willing to sort the filter operators that are rendered inside the filter menu. Is that correct? 

If so, I recommend that you subscribe to the FilterMenuInit event of the grid and access the two DropDownLists and sort their data items. Retrieve the items via the data() method of the data source, sort them, and pass them back to the data source via the same method:

https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/methods/data

 

Regards,
Tsvetomir
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Sp
Top achievements
Rank 1
Veteran
Answers by
Tsvetomir
Telerik team
Share this question
or