Hi, i need to customize certain cells in my gridview, for example if a cell value is greater than 1000, i want to display the cell background or the cell text in Red, how can i do that???
Thanks.
hey, don't know if this problem still exists ...
the only thing I can think of is having at least 2 style definitions for a cell, then sth like this should be possible
<ig:column>
<h:outputText value="#{someValue}" styleClass="highlightStyle" rendered="#{someValue > 1000}">
<h:outputText value="#{someValue}" styleClass="defaultStyle" rendered="#{someValue < 1000}">
</ig:column>
I am not sure if you need to work with < > or if you can work with < and > , but in theory this should work, we only used it with !empty so far, so it would be interesting how it works.
regards
/anja