Hi everybody,
I have a problem about Richfaces ExtendedDataTable, i will explain you my situation : I have a table with a list of data coming from a bean. The user can add a data in this list and if he did, I would like that the last data added is selected as if the user had clicked on the corresponding row (whereby the actions attached is triggered).
I tried to change the selection variable by the bean during the add action, it works but the DataScroller attached to that table is not updated and events on a click on a row are not fired.
So, how can I do that? if you have any idea..
Thanks.
how about using some javascript in the oncomplete handler of your ajax?
$('#myTable').find('td').last.click()