Sets the dataset's page size.
The setPageSize()
function returns a Promise that is resolved when:
Because setting the page size refreshes the dataset, the dataset's current item is reset to the first item in the dataset.
Calling setPageSize()
on a write-only dataset causes an error.
Note: 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.
The new page size.