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

How to get the data of applied field ?

Answered
Deepak Krishnan asked on February 6, 2024

Hi , Im trying to get the data of selected fields . However , I was not able to find any event which triggers when field is applied. I'm aware of the 'fieldslistclose' event but it does not return any data and it gets triggered even on cancel. 

6 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster February 6, 2024

Hello, Deepak!
 
Thank you for reaching out to us.
 
To be on the same page, could you please provide our team with more details about your use case for which you need the data extracted from Flexmonster?
This information would greatly help us provide you with the most suitable advice.
 
Looking forward to hearing from you.
 
Kind regards,
Solomiia

Public
Deepak Krishnan February 7, 2024

Im trying to call an API were i have to send the details of selected fields as request payload to get the pivot table data. But , i was unable to find any specific event which gets triggered on click of 'APPLY' button in fields popup.
 
 
 

Attachments:
Screenshot (139).png

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster February 7, 2024

Hello, Deepak!
 
Thank you for getting back to us.
 
Kindly note that there is no ready-to-use event for applying the slice from the Field List. We recommend adding the event listener to the "Apply" button on the Field List as a possible workaround.
Here is a JSFiddle for reference: https://jsfiddle.net/flexmonster/60cqyt3p/.
 
Hope it helps.
Do not hesitate to contact us if you have any other questions.
 
Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster February 20, 2024

Hello, Deepak!

Hope you are having a great week.

Our team is wondering if you had some time to check the recommended approach to capture the click on the Apply button in the Field List.
Could you please let us know if it was helpful?

Looking forward to hearing your feedback.

Kind regards,
Solomiia

Public
Deepak Krishnan February 21, 2024

Hi , 
Yes this was helpful , I used this approach along with flexmonster methods which worked for me .
Thank you.

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster February 21, 2024

Hello, Deepak!

Thank you for your feedback.

We are glad to hear the suggested approach works well for you.

Feel free to reach out to us if any other questions arise.

Kind regards,
Solomiia

Please login or Register to Submit Answer