In my application, i m using rich:datatable.I want to show the backgorund color of rows depending upon the values .For eg...Status is a column in the datatable. when the value of
Status is Approved, the bg color of row should be
blue and if
completed , color should be
orange. Is it possible to do this..
This is not really a Seam question, but belongs to the RichFaces forum. The way to do this is to define a style attribute on your column which value depends on the rule you defined. You can do this directly in your jsf code, but is much
cleaner doing this in your bean.