Progress Bar Color conditional on enumeration

1
I would like to know if it is possible to make changes to the Progress Bar so that it would change color based on an enumeration?. So I have a progress bar that show the progress of an order, and this order has an enumeration On time/too late, and I would like to color the progress bar green if the enumeration is on On Time and red if the enumeration is on too late, would this be possible? I do not have a whole lot of experience with Java but a pointer in the right direction could help tremendously allready
asked
3 answers
1

Maybe the https://appstore.home.mendix.com/link/app/Enum%20Toggle is also an option?

answered
0

Maybe you can do something with the CSS classes bases on bootstrap

Progress bars with Bootstrap CSS

answered
0

As Paul mentioned. You could use the bootstrap progress bars. Take a look at the bootswatch module from the appstore. You could copy the progress bar used there and edit the variable to your progress indicator. To get different colours you could display different rows in a table depending on what the enumeration is. In each row you would have a different progress bar with different colour.

This is the easy option. The other option is to adjust the progress bar widget from the appstore to use an enumeration. But this would require javascript knowledge.

answered