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?
Hi Jyoti,
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.
Best regards,
Mykhailo
Hi Mykhailo,
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.
Hello, Jyoti,
Thank you for providing more details.
Our team would like to kindly recommend you using the reportcomplete
or reportchange
events in order to track changes of the report.
reportcomplete
is 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.reportchange
is 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.
Best regards,
Illia
Hi Illia,
It does not work with below mentioned scenario
Steps:
Hello, Jyoti,
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.
Best regards,
Illia