How can we set Grid filters in alphabetical order?
Thanks & Regards,
Sp.
1 Answer, 1 is accepted
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:
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/.