Display both the column menu and the filter icon on the grid column

1 Answer 187 Views
Filter Grid
Nick
Top achievements
Rank 1
Nick asked on 20 Oct 2023, 01:00 PM

Hi All,

My code creates a kendo grid.

When the filterable option is set to true, I see the built-in filter icon on the grid column header and that works fine.

If I set both the filterable:true and columnMenu:true, the filter icon disappears and I see only an icon for the column menu.

I found in the Kendo documentation the below.

When the columnMenu configuration is set to true, the Grid fires the columnMenuInit and columnMenuOpen events instead of filterMenuInit and filterMenuOpen.

Is there a way to have both the filter menu and column menu visible as shown below? Or at least some way when the user clicks on the filter icon to open the filter window? I want the user to be able to filter with one click, instead of clicking on the column menu and then clicking "Filter" to launch the filter screen.

Thank you in advance for any help!

 


1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 25 Oct 2023, 10:18 AM

Hello, Nick,

Currently the requirement is not supported. When the column menu is enabled, the filterMenu is placed in it, so there is no approach to open it without opening the column menu first. If opening the filter menu dynamically when you open the columnMenu would be acceptable to you, please refer to this Dojo example.

Let me know if you have any questions.

Regards,
Martin
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Nick
Top achievements
Rank 1
commented on 25 Oct 2023, 01:41 PM

Hi Martin,

I appreciate your feedback.

It will be a user experience downgrade for us to ask the users to go 2 levels down in the menu to find the filter, while they currently access the filter screen directly from the filter icon.

Our decision to enable the column menu has been based on the logic of using the extra features included in that menu.

Is there at least some way to re-order the column menu and show the filter first?

Thank you in advance,

Nick

Martin
Telerik team
commented on 30 Oct 2023, 11:29 AM

Hello, Nick,

This dojo example will rearrange the filter item first if you are using a modern type columMenu. Let me know if it would work for you.

Nick
Top achievements
Rank 1
commented on 30 Oct 2023, 12:56 PM

Martin,

Thank you for your suggestion.

Unfortunately, it didn't work for us as we are using version 2015.3.1111 of Kendo. We will consider upgrading to a version that supports this property.

Nick

Nick
Top achievements
Rank 1
commented on 30 Oct 2023, 08:30 PM

Hi Martin,

I found this https://www.telerik.com/forums/changing-template-of-columnmenu and it worked for me to reorder the columnmenu!

Thanks,

Nick

Tags
Filter Grid
Asked by
Nick
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or