I want to know which button is clicked in popups displayed in flexmonster tool. Can you please give the details on how to do it?
Thank you for writing to us.
As of right now, there are no built-in events to determine which of the buttons in the Field List & Calculated values windows is clicked.
Perhaps, you could tell us a little bit more about your use case? Understanding what you are trying to accomplish would help us see what can be done here in order to achieve the desired behavior.
Looking forward to hearing back from you.
We have a requirement where if user make changes to the report, then we want to display the icon in the page of the application in which we are using flexmonster tool.
Thank you for providing more details.
Our team would like to kindly recommend you using the
reportchange events in order to track changes of the report.
reportcompleteis triggered after the grid/chart was rendered. E.g., the calculated value is added, the field is placed in the current slice, etc. Detailed information about the event by the link: reportcomplete event.
reportchangeis triggered when a report is changed in the component. The change can be performed by a user or programmatically. The list of API calls which trigger the reportchange event can be found following the link.
Also, please check out an example we prepared for you demonstrating using of such events in order to display the icon after the report is changed.
You are welcome to contact us in case additional questions occur.
It does not work with below mentioned scenario
Thank you for your feedback.
In order to track removing of the calculated measure, we suggest using the
reportchange event. We have modified the JSFiddle provided earlier in the way it covers the actions you have mentioned.
Please let us know if everything works for you.