The OnCustomDrawRow and OnExtendedCustomDrawRow events allow you to set row/cell classes and/or styles depending on the row data.
In this example rows are highlighted according to the movie rating using custom CSS classes. See the code.