How to get notified if there is no more pages to load?

My app retrieve data from every page in my table, I want to perform a specific action when there is no more pages to retrieve data from.

Hello Peter

You can use Get Object Count API to get a total count of objects in a data table.
Then, you can calculate how many pages are there

totalPages = round( totalCount / itemsPerPage )

and finaly, you can check your currentPage with totalPages

Regards, Vlad

1 Like

Thanks ,it works.