Need a special offer?Find out if your project fits.
+

How to detect Apply and Cancel in Fields editor

Answered
KonektDev asked on November 15, 2018

In the Fields editor I know the fieldslistclose event fires when the Field Editor is closed either by clicking on Apply or Cancel. How can I tell which button was clicked.

1 answer

Public
Tanya Gryshko Tanya Gryshko Flexmonster November 15, 2018

Hi!
Unfortunately, the fieldslistclose event doesn't have information about button clicked. I recommend you compare slices before and after the click. If Cancel was clicked nothing is changed in the report's state and they should be equal.
Please use getReport() call to get the active slice.
Does it help?
Regards,
 Tanya

Please login or Register to Submit Answer