closedItem returns Boolean.
I add this to dataTable
rowStyleClass="#{(res.closedItem) eq true ? 'Closed' : null}"
My CSS
<style type="text/css">
.Closed
{
background-color: #6CE26C !important;
background-image: none !important;
color: #000000 !important;
}
</style>
But it doesn't work, pls help.