title: How to change row color in p:dataTable depending on column value
body: <pre><code>            &lt;p:dataTable id="test" value="#{test.attLogList}"
                   var="item" 
                   selection="#{test.searchedAttLogList}"
                   rowStyleClass="#{item.name eq 'abb' ? 'Closed' : null}"
                   rowKey="#{item.employeeNumber}"&gt;
  
              &lt;p:column sortBy="#{item.employeeNumber}"
                  headerText="#{o:translate('Employee')}"&gt;
                  &lt;h:outputText value="#{item.employeeNumber} " /&gt;
              &lt;/p:column&gt;
  </code></pre>
  
  <p></p>
  
  <p>css tag is</p>
  
  <pre><code>&lt;style type="text/css"&gt;
          .Closed {
              background-color: #FF0000 !important;
              color: #000000 !important;
          }
  &lt;/style&gt;
  </code></pre>
  
  <p>I want to change row color in data table depend upon condition.Below code is working but only for First row it is not applying for remaining rows.The condition is applying for first row of datatable. kindly help me.</p>
  
  <p>closed is a css tag</p>