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.
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