This content has been marked as final.
Show 1 reply
-
1. Re: Richfaces 3.3.3 dataTable onRowClick don't work after scrolling
ivancosta Jul 31, 2011 2:54 PM (in response to ivancosta)Well, a4j:support didn't help me, so I used a function with a4j:jsFunction and it worked fine.
<a4j:jsFunction name="cliqueLinha" action="#{buscaPessoa.editar}">
<f:param name="idPessoaEscolhida" >
</f:param>
</a4j:jsFunction>
<rich:dataTable id="datatable1"
value="#{buscaPessoa.pessoas}"
rows="10"
width="100%"
onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
onRowClick="cliqueLinha('#{item.id}');"
var="item" >