Dear friends I have a datatable with this rowstyleclass :
Code: Select all
rowStyleClass="#{item.statoIncarico eq 'in trattativa' ? 'trattativa' : null}">
I want to change row background color when row item has a particular state ( in my case if a item field == "in trattativa I want a red background ).
So in core-layout.css i've added this code :
Code: Select all
.trattativa{
background-color: tomato;
background-image: none;
}
But it doesn't work and row background color remain white . I've tested this rule in a project without a primefaces layout and it works.
Where is my fault ?
Netbeans 8.1, PrimeFaces 5.3.10 + PrimeFaces Extensions 4.0, Glassfish ver4.1, Chrome with NetbeansPlugin