Reputation: 29
How to color the rows of HTMLdatatable based on the condition in JSF 1.0?
Upvotes: 1
Views: 1099
Reputation: 1109875
Pass a commaseparated string of CSS class names to the rowClasses
attribute of the component. Those CSS class names will be applied on the rows repeatedly. And then of course define the color in those CSS class(es).
Upvotes: 2