This content has been marked as final.
Show 1 reply
-
1. Re: RF4 rich:extendedDataTable how to change color of some rows?
mcmurdosound Nov 17, 2011 2:03 PM (in response to edilmar)almost anything is possible (as long as it does not break the laws of physics!) with some effort:
you have to set styleClasses / css or inline styles in each of your column depending on the current value per row:
<rich:extendedDataTable value="#{myBean.myList}" var="entry">
<rich:column styleClass="#{(entry.someInteger gt 5) ? 'green' : 'red'}">
#{entry}
</rich:column>
... for each column.
or you set the style in your columns children: <rich:column><h:outputText value="#{entry}" style="#{..."