How do you load the next data page of a paged TableView? I guess, this has to be quite easy... but i just can't figure it out...
When i add the TableView, the 1st data page (containing records 1 - 10) is shown.
But how can i switch to the 2nd data page (containing records 11 to 20) now?
Thanks a lot in advance!
Code:
RecordList recordList = new RecordList();
// add 20 records now
TableView tv = new TableView();
tv.setDataFetchMode(FetchMode.PAGED);
tv.setDataPageSize(10);
tv.setData(recordList);But how can i switch to the 2nd data page (containing records 11 to 20) now?
Thanks a lot in advance!