Download Free Trial

Want to start flex with no toolbar but then should be available on demand

I have created a flex pivot with toolbar on. And I have a button which hides / shows toolbar.
But our requirement is to open pivot with toolbar off.  So is there any way to add the toolbar after flex pivot is created ?

1 answer

Tanya Gryshko Flexmonster June 29, 2017

Hello Sohan,
Thank you for writing. We recommend you the following approach: create an instance of the component and set the style for the toolbar: display: none. Then the toolbar may be shown or hidden by applying new styles. Please have a look at the example on JSFiddle. We would be grateful for your feedback.

Please login or Register to Submit Answer