How to open fields modal after a refresh?

Answered
leandro f asked on June 20, 2024

I'm trying to open fields modal after setting some options and calling  `refresh` method, but it seems that the `refresh` hasn't finished yet and the modal isn't opening.

How can I resolve this behavior? Is there any callback or event that is fired after `refresh`?

https://jsfiddle.net/39jxd256/1/

2 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster June 21, 2024

Hello,

Thank you for reaching out to us.

We recommend using the configuratorActive property of the options object instead of flexmonster.openFieldsList() method. Also, it is recommended to set the options directly in the report object. Please check the following JSFiddle for reference: https://jsfiddle.net/flexmonster/2jnoy3z5/

Please let us know if it works for you. Looking forward to hearing from you.

Kind regards,
Nadia

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster July 10, 2024

Hello,

Hope you are doing well.

We were wondering if you had a chance to check the suggested approach. Could you please confirm if it works for you?

Looking forward to hearing your feedback.

Kind regards,
Nadia

Please login or Register to Submit Answer