This content has been marked as final.
Show 4 replies
-
1. Re: Row Highlighting in rich dataTable
tjakopec Aug 21, 2007 7:33 AM (in response to kewldude)try this
<rich:dataTable var="v" value="#{bean.results}"> <rich:column style="#{(bean.model!=null && (bean.model.fiel >= p.field)) ? 'background: #c3d9ff;' : ''}"> <t:outputText value="#{v.model.anotherField}" /> </r:column> </r:dataTable>
problem is that you have to copy same code on each column...
if you find better solution let me know -
2. Re: Row Highlighting in rich dataTable
kewldude Aug 22, 2007 8:56 AM (in response to kewldude)Thanks Tomislav.
Hmmm, are there anymore suggestions? -
3. Re: Row Highlighting in rich dataTable
ilya_shaikovsky Aug 22, 2007 9:00 AM (in response to kewldude)you may use rowClasses on the dataTable itself
-
4. Re: Row Highlighting in rich dataTable
kewldude Aug 22, 2007 9:22 AM (in response to kewldude)"ilya_shaikovsky" wrote:
you may use rowClasses on the dataTable itself
sorry but my mind is a lil bit cluttered now, hmmm how do you associate the rowClasses with the business logic?