Loads the specified page.
The loadPage() function returns a Promise that's resolved to
an array of the specified page's items when:
The indices of the dataset's pages start at 1.
Notes:
A dataset needs to load its data before you call its loadPage() function.
Usually a dataset finishes loading a short time after the page it's on finishes loading. So if you call loadPage() inside the page's onReady() event handler, the dataset might not be ready yet.
To call loadPage() as soon as possible after a page loads, use the dataset's onReady() function inside the page's onReady() event handler to ensure that both the page and the dataset have finished loading.
When using a read-write dataset and linked input elements, calling any of the following functions will save any changes made in the linked input elements.
If random order is enabled for a dataset, loadPage() throws an error.
The index of the page to load.