Is that possible to show/hide loading spinner on demand, reach it via FlexmonsterRef and customize it's appearance and labels?
Hi Michael,
Thank you for posting your question.
At the moment, the built-in loading spinner is only displayed during the actual data loading – there is no built-in way to call it on demand.
Perhaps, you could tell us a little bit more about your use case so that we can see what else can be offered in your situation?
Just in case this is something that would cover your needs, we would also like to mention the alert()
Flexmonster API call, which allows you to display a customized pop-up window at runtime with a message of your choosing. Feel free to check out the following JSFiddle sample illustrating this functionality: https://jsfiddle.net/flexmonster/a3t67sfr/
Looking forward to hearing from you.
Best regards,
Mykhailo
Dear Mykhailo Halaida,
I am interested in your response. My issue is that we are using a Protocol Buffers API, so we transform the data ourselves to make it suitable for Flexmonster and then load it via the Flexmonster API. In this case, the entire loading process is in our hands, and I would like to add a loader screen. It would be great if we didn’t have to use a separate CSS overlay for this, but instead, Flexmonster could support this feature in some way, similar to how most grids have a loading overlay.
Thank you in advance for your response.
Best regards,
eggp
Hello,
Thank you for reaching out to us.
Currently, Flexmonster does not provide this feature out of the box. The only solution is adding CSS rules to display the custom loading screen.
You are welcome to contact us if further questions arise.
Kind regards,
Nadia