Custom FilterMenuTemplate - can I add extra buttons?

1 Answer 160 Views
Grid
Adrian
Top achievements
Rank 1
Iron
Veteran
Iron
Adrian asked on 02 Jun 2021, 02:10 PM

I have created my own custom FilterMenuTemplate which is working.  I get the standard "Clear" and "Filter" buttons in the filter popup for free.

I would like to add a third custom button next to the "Clear" and "Filter" buttons called "Default"
(see red outline on attached image as to where I would like to place the button). 

Looks like it would need to be placed inside the <div class="k-columnmenu-actions">

Clicking on the "Default" button will reset the filter back to the default values e.g. "C0", "UA" and "BM" - is that possible?

 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 04 Jun 2021, 02:12 PM

Hi Adrian,

The customizable part of the filter menu popup is above the two built-in buttons. I hope that it will be acceptable for you to place the "Reset to Default" button there. Perhaps if the button is expanded to 100% width, it will look more natural.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Adrian
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Dimo
Telerik team
Share this question
or