Today I got a question here in the forums why hasNext() and hasNextPage() always returns false. I realized that it does that because the Dynamic Dataset always only has 1 record. If you check getTotalCount() that will always be 1.
But in the API reference they have now splitter the Dataset docs between Dataset and Dynamic Dataset but still the hasNext and hasNextPage are in the reference but they shouldn't I suppose.
But as always in Wix Code there is a hidden solution. I managed to make a work around and used the property enabled() on a button that links to the Next Dynamic Page.
Here is the full solution for ya all that needs this check working.