I have a data table on my xPage that shows e.g. 10 rows (repeat limit, rows="10"). How do I know what's the current page number when I navigate through the records by using pager?
After switching between pages I'd like to return back and open dataTable exactly on same page I left:
getComponent("dataTable1").gotoPage(<page number I save>)