Change the color of some rows of a DataTable

Hi,
How can I change the color of the some rows of a DataTable based on certain value of the field ? I need to display some rows with red color.

regards

There’s a SO answer here: https://stackoverflow.com/a/51048558