Hi Reece,
In Mendix 9 you can use the datagrid 2 with custom content columns combined with dynamic classes. In Mendix 8 the Grid Cell Styler is probably your best option.
You could try it yourself with some Javascript and CSS, but the widget is probably easier…
Cheers