Filter just one element from the toolbar export menu

Answered
Enrique Santana asked on August 11, 2023

In the toolbar export menu there is an excel export option, how can i get rid of it without filtering the whole export tab?

3 answers

Public
Maksym Diachenko Maksym Diachenko Flexmonster August 14, 2023

Hello, Enrique!

Thank you for reaching out to us.

There are two options for removing items from the export submenu. The simplest solution would be to hide the element by its id using CSS:

#fm-tab-export-excel{
  display: none !important;
}

Also, you could use the beforetoolbarcrated event handler to remove a certain tab. 

You are welcome to check the code examples for removing the Excel export:

Please let us know if one of the suggested solutions works for you.

Best Regards,
Maksym

Public
Enrique Santana August 14, 2023

Thanks both worked well!

Public
Maksym Diachenko Maksym Diachenko Flexmonster August 15, 2023

Hello, Enrique!

Thank you for your feedback.
We are glad to hear that provided solutions work for you.
Feel free to contact us if any other questions arise.

Best Regards,
Maksym

Please login or Register to Submit Answer