How to custom icon toolbar fm-tab-fullscreen

Answered
thangnt16 asked on August 26, 2022

Dear support
I want to custom icon button fm-tab-fullscreen on toolbar. I'm using beforetoolbarcreated, when pivottable created icon is ok and then click icon button fm-tab-fullscreen to show full screen, icon is change to default.
Please help me to check it.
Thanks

3 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster August 26, 2022

Hello!
 
Thank you for reaching out to us.
 
Kindly note that you can change all the default icons by modifying the toolbar.icons property.
For example, the fullscreen icon can be changed in the following way: 
toolbar.icons.fullscreen = '<img src="your_link_here"/>'

Here is a JSFiddle example for reference: https://jsfiddle.net/flexmonster/cjerd387/.

All default icons can be found in the flexmonster/toolbar/flexmonster.toolbar.js.
 
Hope you will find this answer helpful.
 
Regards,
Solomiia

Public
thangnt16 August 28, 2022

Thanks you <3

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster August 29, 2022

Hello!

Thank you for your feedback.

We are glad to hear our answer was helpful.

Feel free to contact us in case of any other questions.

Best regards,
Solomiia

Please login or Register to Submit Answer