2 Replies Latest reply on Dec 8, 2009 8:22 AM by Ilya Shaikovsky

    Rich data table - Changing the color or selected row

    Shaiju CK Newbie

      Hi,
      I have implemented a row selection feature with richDataTable. I wanted to change the color of the selected row.
      Is there any option to set the color for a particular row in rich table. On any thoughts about this.

      Below id teh code I used for row selection, with the help of a4j:support.


      <rich:dataTable styleClass="dataTable" id="accntGrpList" var="accountGroup"
       value="#{accountGrpDataModel}" rows="5"
       binding="#{accntGrpBean.table}" width="600px">
       <a4j:support reRender="operationalIcon" event="onRowClick" actionListener="#{accntGrpBean.selectedRowChanged}" />