This content has been marked as final.
Show 2 replies
-
1. Re: How to focus row in (extended) DataTable programmatically (RF4)
tdtappe Jun 6, 2011 11:11 AM (in response to tdtappe)It does seem to work with
dataTable.getAttributes().put("activeRowKey" row);
But I have no idea whether this is "allowed" or not?
And I still have the problem that I cannot switch to the following or previous page if necessary.
Trying to modify the data scroller's "page" attribute and the data table's "first" attribute doesn't seem to work.
Any idea?
--Heiko
-
2. Re: How to focus row in (extended) DataTable programmatically (RF4)
tdtappe Jun 7, 2011 7:57 AM (in response to tdtappe)For the time being I solved the problem of switching to another page via JavaScript after ajax-oncomplete:
rich:component('dataScroller').switchToPage(#{handler.currentPage});
--Heiko