Get Free Trial
Get Free Trial

Live changes to the toolbar after a button click

Vesa Tähkävuori asked on April 15, 2019

Hi! We have a use case with our Flexmonster Toolbar, where we would like to change the contents of the toolbar on a button click. We do not want to change anything else in the pivot, just the toolbar’s content.
 
We can customize the toolbar as instructed on the website, using before-toolbar-created and customizeToolbarFunction. After that however, we are not able to update the toolbar’s content. Do you have any suggestions on how this could be done?

 
Thanks again.

2 answers

Public
Dmytro Zvazhii Flexmonster April 15, 2019

Hello Vesa,
Thank you for writing to us.
 
As for editing toolbar content, the recommended approach is handling 'beforetoolbarcreated' event.
When it comes to the runtime manipulations, we recommend using CSS and other instruments.
 
Please note, that flexmonster.toolbar is fully open-source. It means that you can add the necessary changes on your own.
 
Let us know in case of any other question.
Regards,
Dmytro

Public
Vesa Tähkävuori April 24, 2019

Hello Dmytro,
this will do for us. Thank you.
BR
Vesa

Please login or Register to Submit Answer