singh
singh

Reputation: 29

Color the rows of datatable based on the condition in JSF1.0?

How to color the rows of HTMLdatatable based on the condition in JSF 1.0?

Upvotes: 1

Views: 1099

Answers (1)

BalusC
BalusC

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

Related Questions