How to open a custom Dialog on Options handler of Toolbar

Answered
Aashish Chavan asked on October 10, 2023

Hi All,
 
I'm trying to create a custom dialog which will hold all the options that are already available in "Layout Options", plus I want to add some additional UI elements to the custom dialog. In options button handler I'm able to access only toolbar methods & properties. How can I access angular component level objects. I have also bind the current component with beforetoolbarcreated event.
 
Please let me know if there is any way to achieve that apart from modifying Flexmonster.Toolbar.js
 
Thanks & Regards,
Aashish Chavan

Attachments:
Layout Options.png

1 answer

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster October 11, 2023

Hello,

Thank you for reaching out to us.

We recommend implementing your custom "Layout Options" pop-up window. For reference, you can use the FlexmonsterToolbar.prototype.showOptionsDialog method.

We hope it helps. You are welcome to write to us in case further questions arise.

Kind regards,
Nadia

Please login or Register to Submit Answer