I have a richfaces datatable showing a list of data. I need to set the background color of certain rows depending on some values in the rows.
What is the smartest and most efficient way of doing this?
I believe I may be able to write some small javascript code inside a style attribute or something like that.
Hope someone can give me a good answer (with code example)
Thank you in advance.