How to make GridColumnMenuCheckboxFilter be alphabetical order

1 Answer 16 Views
Grid
Janki
Top achievements
Rank 4
Bronze
Iron
Iron
Janki asked on 02 Apr 2024, 07:11 PM
If my data isn't sorted, the checkbox filters are generated in a non-alphabetical order, making the UX more confusing and less seamless. How can I sort my checkbox options without sorting the grid data itself (keep them de-coupled)?

1 Answer, 1 is accepted

Sort by
1
Accepted
Wissam
Telerik team
answered on 04 Apr 2024, 11:27 AM

Hi, Janki,

I have to say that the only option here would be to sort the data that is passed to the data prop of the GridColumnMenuCheckboxFilter component. This does not affect the Grid data but only the one passed to the column menu:

Regards,
Wissam
Progress Telerik

Are you interested in React Server Components? Have a look at our Kendo React Server Grid! https://www.telerik.com/kendo-react-ui/components/server-components/grid/
Janki
Top achievements
Rank 4
Bronze
Iron
Iron
commented on 15 Apr 2024, 08:43 PM

Hey Wissam,

Thanks for the workaround, I will use that!

I think this would be a great feature to have out-of-the-box, and hopefully it's something easy to add from your end. UX-wise, it's really difficult to wrap your head around a non-alphabetized list, especially when the list is used for the special purpose of filtering -- you now have to filter down the list before you can filter the grid itself, which adds more overhead for the user.

I understand that Excel is not the end-all and be-all, but Excel also sorts it by default:

Wissam
Telerik team
commented on 17 Apr 2024, 11:58 AM

Hello, Janki,

Thank you so much for your feedback.

I logged a feature request on your behalf for adding this as a built-in feature, you can track it here:

In addition, I updated your Telerik Points accordingly as a small token of gratitude for your suggestion.

Regards,
Wissam
Progress Telerik
Janki
Top achievements
Rank 4
Bronze
Iron
Iron
commented on 17 Apr 2024, 02:17 PM

Many thanks, Wissam! You have been super helpful as always - appreciate you taking the time to help with this!
Wissam
Telerik team
commented on 19 Apr 2024, 07:35 AM

You are welcome, Janki! Thank you so much for the positive feedback!
Tags
Grid
Asked by
Janki
Top achievements
Rank 4
Bronze
Iron
Iron
Answers by
Wissam
Telerik team
Share this question
or