-
1. Re: Highlight a row in a rich:dataTable
giberius Jan 27, 2012 6:03 PM (in response to andy00)Think about how you change the background color.
What happens is you table is re-rendered, will your construction then work?
-
2. Re: Highlight a row in a rich:dataTable
vi_mahe_ka1 Jan 28, 2012 2:53 PM (in response to andy00)use following code
<a4j:support event="onRowClick"
action="#{cFormBuilderIndex.selectRow}">
<a4j:actionparam name="selRow" value="#{result.rowId}"
assignTo="#{cFormBuilderIndex.selectedRow}" />
</a4j:support>
use a unique identifier in your DTO for identifying the record which is rowId in this case.