Hallo friends, working with fs1.2.1 and have the following problem/question. Have a datasource with 10 rows per page and 105 records in the table. I have a button called "LastRecord" that use api_datasource.lastRow but the focus on the UI is still on a row on page 1. There is api_datasource.nextPage , but how i can jump to the page that contains the last row. Does someone find a solution for that ? Can a method called FirstPage and LastPage be implementent in future ? Thanks Uwe K |
Hi Uwe, As you have mentioned, these two APIs are currently missing but we are planning to implement them for the version 1.2.3 . In the meantime, you can use the following procedure to navigate to the last page of a datasource:
If the rowsPerPage values of your datasources are not changing during runtime, you can define package constants holding the rowsPerPage values of your datasources to avoid the Also, please note that the Navigating to the first page is easier:
Hope this helps, |