0 Replies Latest reply on Jan 4, 2010 8:56 PM by Nagendra krishnawat

    rich:column cell (value) css.

    Nagendra krishnawat Newbie

      Requirement: Compare two column values, highlight the cells wherever the values are difference, Only the specific cell has to be highlighted (should have a bright background color), and not the entire row.



      I am using rich:datatable to display the table. I am not able to get hold of css of a particular cell.


      Something like this:


      <rich:column sortable="false" width="30%"  label="Updated Date" >
                          <f:facet name="header">
                              <h:outputText value="Updated Date" />
                          </f:facet>
                         if(#{differenceVar[3==true]}) {
                         // Apply .newCss
                           }
                          <h:outputText value="#{differenceVar[3]}" />
       </rich:column>