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
Hi,
the correct names of the attributes are onrowmouseover and onrowmouseout (all lower case). However, the attribute onrowmouseover doesn't work for me. Please report an issue in our Jira https://issues.jboss.org/browse/RF
Regards,
Palo