Color « Datatable « JSF Q&A





1. datatable - row colors    coderanch.com

Hello Rakesh and Master Blaster, I am now in a similar situation as Rakesh wherein I need to show a different row color in the datatable based on a value in the data bean. Here is how I wrote the code in the managed bean public String getRowColor() { EventTypeSimple object = (EventTypeSimple)table1.getRowData(); //this line above returns a null - also ...

5. h:dataTable color    coderanch.com