The datatables widget from the appstore has the possibility to style a cell in a grid based on it's value:
Might a bit more configuration then a normal datagrid but it works, you could check out the test project for implementation: https://appstore.home.mendix.com/link/app/2703/
Perhaps you can try the EnumClass widget: https://appstore.home.mendix.com/link/app/2641/
With kind regards,
Bryan de Wit
Hope this helps!
you could make a listview with a table in it with conditional visability and then add classes that are linked to different styles.
(this is what we do when we need to have a line to give some sort of warning or icon or something else)