It seems a fairly common requirement in a table is to highlight rows based on their content.
Example: some server-side logic determines that some set of rows in the table should have a red background, and some should have a green background, based on say profit or loss.
But there does not seem to be a simple way to style rows of a table based on the backing bean.
Why is there not a "rowStyle" attribute on rich:dataTable that can be evaluated via a reference to the iteration variable to produce arbitrary dynamic row styles?
Or am I just missing the way to do this???
use styleclass on columns. standard attributes rowClasses and columnClasses - can't be pointed to iteration variable according to JSF spec.
B.t.w. already added such request:
https://jira.jboss.org/jira/browse/RF-6494