This content has been marked as final.
Show 1 reply
-
1. Re: Conditional row styles?
shakenbrain Jul 17, 2007 2:51 AM (in response to shakenbrain)Bah. I see how to do it. The same class that produces the DataModel would also produce a String of classes- one entry per row:
plain, highlighted, highlighted, plain, plain, ....
rowClasses="#{admin.rowClasses}"
This quote from the docs:A space separated list of classes may also be specified for any individual row.
seems inaccurate though. Unless I'm missing something, separating the classes with spaces results with all rows getting all classes.