Updates the page index using the provided function or value in the state.pagination.pageIndex state. API Docs Guide
state.pagination.pageIndex