This content has been marked as final.
Show 6 replies
-
1. Re: Conditional Datatable row css like tomahawk rowStyleClas
supernovasoftware.com Jul 22, 2007 1:29 AM (in response to supernovasoftware.com)Sorry, I meant to post this to richfaces.
-
2. Re: Conditional Datatable row css like tomahawk rowStyleClas
sergeysmirnov Jul 22, 2007 1:40 PM (in response to supernovasoftware.com)try to use rich:columnGroup and style of it for conditionally style rows
-
3. Re: Conditional Datatable row css like tomahawk rowStyleClas
supernovasoftware.com Jul 22, 2007 9:33 PM (in response to supernovasoftware.com)Works like a charm. Thank you very much.
-
4. Re: Conditional Datatable row css like tomahawk rowStyleClas
supernovasoftware.com Jul 22, 2007 10:56 PM (in response to supernovasoftware.com)When I put
<rich:columnGroup styleClass="#{rowStyleClass}">
around all of the columns then the header is not rendered.
The css is applied to each td generated. I would prefer that it was placed on the tr, but this will work if I can get the header to render.
Any other suggestions? -
5. Re: Conditional Datatable row css like tomahawk rowStyleClas
supernovasoftware.com Aug 9, 2007 5:57 PM (in response to supernovasoftware.com)This doesn't seem that difficult to implement. Is it possible to squeeze this into 3.1?
-
6. Re: Conditional Datatable row css like tomahawk rowStyleClas
alexsmirnov Aug 10, 2007 2:49 PM (in response to supernovasoftware.com)rich:dataTable use standart h:dataTable "rowClasses" ( as well as "columnClasses" ) attribute, with a same behavior. See description at http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/tlddocs/h/dataTable.html