Detecting Report Change

Answered
Sengupta asked on December 22, 2016

Is there an event to detect the report model is changed (not the visual aspect like grid to chart) via the Field Configurator (reportchange is insufficient)
Or
A way of detecting whether the "OK" button on the Fields Configurator is clicked (fieldslistclose is insufficient).
 
Please help

5 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster December 22, 2016

Hello Sengurpa,  Thank you for your question. The best solution for you is querycomplete event, it will be triggered after the Fields Configurator "OK" button is clicked. More information about this event you can find in our documentation http://www.flexmonster.com/api/querycomplete/. Please download the latest version of the component from our website to avoid any incompatibility.
Let us know if it works for you.
Best regards,
Dmytro.

Public
Sengupta December 22, 2016

@Dmytro Zvazhii
Not much help
It seems querycomplete triggers with other action e.g. Formatting.

Public
Ian Sadovy Ian Sadovy Flexmonster December 23, 2016

Hello Sengupta,
 
Thank you for the feedback.
Please take a look at the following sample - https://jsfiddle.net/flexmonster/9e6dcbs2/
It uses reportchange event to check if any fields were changed.
Also, we are planning to improve reportchange event to add an information about what exactly was changed (i.e. fields, formatting, etc.)
Please let me know if it helps.
 
Regards,
Ian

Public
Sengupta December 29, 2016

@Ian Sadovy
For our development we need a CLICK event for the “OK” button on the Fields Configurator
I can explain you the reason but it may not be appropriate to discuss it in a forum.
You could email me directly (contact details are with Olena Maistrenko)

Public
Ian Sadovy Ian Sadovy Flexmonster December 30, 2016

Hi!

Please send details to Olena Maistrenko and she will pass it over to the development team.

Regards,
  Ian

Please login or Register to Submit Answer