[GH #2957] Can't navigate between pages if initialPage is set

When handling pagination programatically on Handsontable, if you set the initialPage parameter, it’s not possible to navigate between pages. This happens on the official StackBlitz example provided in the documentation, so this is likely a bug with the Handsontable implementation.

Steps to reproduce:

  1. Open this example in StackBlitz: Row pagination - React Data Grid | Handsontable
  2. Add initialPage: 2 (or any number) to the pagination object on the HotTable configuration
  3. Try to navigate between pages on the table
  4. Notice that the pagination component is updated, but the table is not

Hi @douglaspigoulart

Thank you for reporting this. I looked into it and the problem occurs only in the React’s example where the initial configuration is also being setup in the useState hook. I’ve reported it internally for further investigation and will update you as soon as I have more information.

1 Like

Thank you!!