you can use a value binding for the styleClass attribute of t:column
if you don´t want to define a column for each styleClass

Regards,

Mathias

2005/8/31, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]>:
>  
> If you use <t:column> instead of <h:column>, you can specify a style, and,
> if you combine this a rendered="#{myBean.styleQuery}" attribute setting,
> then you can conditionally set a style for that cell.  That's as far as
> we've gotten in being able to set styles dynamically in a table. 
>   
> - Brendan
>  
>  
>  
> -----Original Message-----
> From: Matt Cronin [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 31, 2005 1:03 PM
> To: [email protected]
> Subject: Highlight datatable row based on business logic
> 
> I have seen that the datatable allows highlighting of rows, but all the
> examples seem to highlight alternate rows.  I would like to highlight
> specific rows based on business logic.  Is there a way to do this with the
> datatable?

Reply via email to