How to implement a spinning wheel in a Mendix 5 theme

1
In our Mendix 4 application we have a nice 'spinning wheel' GIF that is, in my opinion at least, very convenient to have a clue if the server is still busy with executing a microflow, running a query, calling a webservice, et cetera. In the Mendix 5 themes that I have seen and used, this spinning wheel GIF is absent. I would love to introduce it though in our custom theme. Which steps should I take to implement a spinning wheel GIF in my Mendix 5 theme?
asked
3 answers
1

The spinning wheel is indeed absent in Mx5. Instead you can use the progress bar option to display a message in a dialog with a spinning indicator.

answered
0

Hmmm, this is sad. We have to go change this in 452 places then... :(

answered
0

For datagrids it's possible to show a spinner when the application is searching in large datasets. Add this to your CSS styling (check your image+size):

.mx-grid-search-controls .mx-grid-search-button[disabled=disabled] {
    background: url(images/ajax-loader.gif);
    background-repeat: no-repeat;
    text-indent: 18px;
    background-position: 4px 4px;  /* equivalent to 'top left' */
}

This will show a loader like this: https://app.box.com/embed/preview/a56xrjnq1mry87bk4kh073l4d1wwmf0r?view=&sort=&direction=ASC&theme=light

enjoy :)

ps. For microflows you have to adjust the settings like Stephan mentioned.

answered