This content has been marked as final.
Show 1 reply
-
1. Re: attribute of onrowclick in component <rich:dataTable>
healeyb Jul 30, 2012 12:45 PM (in response to lu-wj)I went to delete my first reply as it was misleading but all my replies disappeared. Not having a good day.
Here's a solution which assumes that the text in the table row is wrapped in a div which can be checked
using your browser developer tools:
<h:outputScript name="jquery.js"/>
...
onrowclick="jQuery('div', this).css('font-weight', 'bold')"
Row highlighting with css:
tr:hover {
background-color: #ff8080;
}
Regards,
Brendan.