We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Is it possible to set Flexmonster loading state?

Answered
Toni Laukka asked on April 26, 2021

Is it possible to pass a loading state to Flexmonster?
 
We use React, Redux, Saga in our app and handle loading the data outside of flexmonster. I would still like to use the Flexmonster loading animation instead of using a custom one.

1 answer

Public
Vera Didenko Vera Didenko Flexmonster April 26, 2021

Hello, Toni,
 
Thank you for writing to us.
 
We would like to explain that currently, Flexmonster doesn't provide an option to set a loading state.
For such cases, the recommended approach is to create a custom element for displaying the loading state.
For example, it is possible to place a custom element (for displaying the data loading state) on top of the grid and style it accordingly with CSS. After the data is ready to be passed to Flexmonster, hide the custom loading indicator, pass the data to Flexmonster with the `connectTo()`, `updateData()`, or `setReport()` API call and, therefore, let Flexmonster display the rest of the data loading and analyzing indicators.
 
Please let us know if any additional questions arise.
 
Kind regards,
Vera

Please login or Register to Submit Answer