1 Reply Latest reply on Nov 4, 2011 12:09 PM by ppitonak

    onRowMouseOut not being fired

    jn.colin

      Hi

       

      I would like to change the row color of a rich:datatable when mouse goes over it; I found several examples, but can't get it to work. I tried on several browsers, checked the javascript console. No luck. I'm using RichFaces4.0 and the datatable is defined as:

       

      <rich:dataTable id="reportlinestable" styleClass="fullwidth"

              onRowMouseOver="this.style.backgroundColor='green'"

              onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"

              var="reportline" iterationStatusVar="iter"

              value="#{entryBean.reportLines}" headerClass="headerreportlines"

              footerClass="footerreportlines" rowClasses="reportlines">

       

      Thanks for your help

       

      Jean-Noël