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
asked 25 Jan '13, 04:19
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,
answered 25 Jan '13, 05:18
Ibrahim Sand... ♦♦
Thanks, it works fine
answered 25 Jan '13, 06:35