This content has been marked as final.
Show 3 replies
-
1. Re: How to higlight the selected row in richdatatable
qbit42 Nov 27, 2009 3:08 PM (in response to palani.palanivelsway.gmail.com)Hi,
I'm not sure what you mean by selected row, but if you want to highlight the row under your mouse, then this would be the best solution:
<rich:dataTable value="#{list}" var="row" onRowMouseOver="jQuery(this).addClass('Highlight');" onRowMouseOut="jQuery(this).removeClass('Highlight');"> ... </rich:dataTable>
I belive you have to enable jQuery support for this to work, if it's not already enabled!? Put this in your HTML head to enable jQuery:
<a4j:loadScript src="resource://jquery.js"/>
or use traditional javascript to add/remove classes/styles.
-
2. Re: How to higlight the selected row in richdatatable
palani.palanivelsway.gmail.com Dec 5, 2009 4:14 PM (in response to palani.palanivelsway.gmail.com)hi matthias,
higlight selected the datatable row in next page,Not for same datatable(onRowMouseOver or onRowMouseOut)
regards
palani -
3. Re: How to higlight the selected row in richdatatable
qbit42 Dec 15, 2009 5:01 PM (in response to palani.palanivelsway.gmail.com)Sorry, but I don't understand what you mean by
higlight selected the datatable row in next page
. Do you have more than one datatable? Please try to explain the problem a little bit.