How can I control the view mode change event (flat, compact ….)? The idea is that when you switch from flat to compact mode, update the Report options with a selection of fields. Currently I have it controlled with two custom buttons but I would like to manage it from the options dialogue box. Something like – when you click on flat mode launch a function …..
Thank you very much
Thank you for posting to our Support Forum.
We suggest customizing Toolbar for this purpose.
flexmonster/toolbar/flexmonster.toolbar.js file contains the logic for the options dialogue box. Here you can check how it works.
Please refer to Customizing toolbar tutorial to learn how Toolbar should be customized.
Does it work for your case?