-
1. Rich:datatable onRowClick for specific columns
ilya_shaikovsky Mar 14, 2011 5:59 AM (in response to samppaa)1 of 1 people found this helpfulin RichFaces 4 I'm using
<rich:column styleClass="noClick">
.....
<rich:jQuery event="click" query="event.stopPropagation();" selector=".noClick" attachType="bind"></rich:jQuery>
but in RF 3 there are no event and attachType so you should bind the handler directly in query using mouseover() as there http://livedemo.exadel.com/richfaces-demo/richfaces/jQuery.jsf
-
2. Rich:datatable onRowClick for specific columns
samppaa Mar 14, 2011 7:08 AM (in response to ilya_shaikovsky)Thanks for quick answer.
I'm still using RF3. I tried following using richfaces-demo as an example:
<rich:column styleClass="noClick">
....
<rich:jQuery selector=".noClick" timing="onload" query="mouseover(function(event) {event.stopPropagation();})"/>
This does not seem to work. I had to use timing="onload" to get the query executed at all but I have a doubt that the query I'm using is incorrect.