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

How to modify functionality of 'Apply' button inside field popup when we click on field menu in toolbar

Answered
malati asked on October 20, 2023

I am currently using licensed version of flexmonster pivot .we want to modify functionality of 'Apply' button inside field popup when we click on field menu in toolbar .Please help us to handle this as soon as possible

1 answer

Public
Maksym Diachenko Maksym Diachenko Flexmonster October 23, 2023

Hello, Malati!

Thank you for your question.

Kindly note that Flexmonster does not provide a straightforward solution to override the button's handler. However, the logic of the "Apply" button implies closing the Fields List on button click, which can be utilized by the fieldslistopen and fieldslistclose Flexmonster events:

  1. On fieldslistopen event, capture the state of the report into a separate variable.
  2. On fieldslistclose event, you can retrieve the report again to compare it with its previous state. While handling the event, you can add extra functionality to process the applied changes. Note that the autogenerated creationDate property should be deleted from both reports before the comparison since it will create pseudo-uniqueness for non-changed reports.

Hope you will find this solution helpful.

Best Regards,
Maksym

Please login or Register to Submit Answer