Ok i have something better doing this adding attach-type="live" and event type :
<rich:jQuery selector="#customList tr:odd" query="addClass('odd-row')" />
<rich:jQuery selector="#customList tr:even" query="addClass('even-row')" />
<rich:jQuery selector="#customList tr" event ="mouseover" query="jQuery(this).addClass('active-row')" attachType="live"/>
<rich:jQuery selector="#customList tr" event ="mouseout" query="jQuery(this).removeClass('active-row')" attachType="live"/>
My effect is working for mouse over and mouse out. But the zebra style is still not working. And I can't affect an event on the two first rich:query tag... I'don't have any idea here... Someone, thanks ? keep looking for a solution....
The css style is :
.even-row {background-color: #FCFFFE;}
.odd-row {background-color: #ECF3FE;}
.active-row {background-color: #FFEBDA !important;cursor: pointer;}
An another question why in rich:datatable, rowClasses is set to "order-table-odd-row,order-table-even-row" whereas my css is only named odd-row and even-row. I'm lost on this...
Update: I change the css into order-table-even-row,order-table-odd-row... and now evrything is working correctly.