How do I show a Loading... message while the page paints. Then remove the message when the page is ready.

0
How do I show a Loading... message while the page paints. Then remove the message when the page is ready? Details: The page takes a context object for a data view. And that dataview has listviews inside that has datasource of microflow and those take time to bring rows. As my context object is not from a microflow, I assume dataviewloader widget wont be useful. I also tried the new dojo widget LoadingJS but its message/animation does not go away most of the time. Another approach of showing a gif for a few seconds in front of the page being loaded, seems a desperate approach.  Is there any other right way to show such animation/message while page (or a slow listview inside the page) gets painted, so that user does not have to watch it getting ready in fragments.
asked
2 answers
2

Hello Abhijit,

You can set up the page loading progress bar(with or without message) by selecting the Microflow setting option as shown in the picture when you call a microflow.

answered
1

Hi Abhijit,

Try DataView Loader widget (https://appstore.home.mendix.com/link/app/50833/) or CSS Loader Widget(https://appstore.home.mendix.com/link/app/51520/) for displaying the loader in a page.

 

Thanks,

Bharathidasan

answered