You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Je...@go.com.mt on 2006/03/22 13:18:36 UTC
Style for row in datatable
Hi,
Is it possible to apply a style to a row in a datatable dynamically? For
example, I might have a datatable showing a list of numbers and I would
want the rows containing negative numbers to be red and the positive
numbers to be blue. I want to apply the style to the entire row (<tr>) not
just the contents.
I believe this cannot be achieved using the rowClasses attribute of the
datatable.
Is there any way of achieving this?
Thanks
Jean