-
Notifications
You must be signed in to change notification settings - Fork 431
Open
Description
First of all thank you for the great work on the library!
Question
With a previous version of the lib changes to the pagination options would be reflected by the table by default. I have checked the pagination state-context.js and it seems updates to the pagination options will only be visible when in custom or remote modes. Is there a reason for not updating currSizePerPage and currPage in the other cases as well?
My usecase was to update the table page size based on the viewport by changing the value of sizePerPage.
codesandbox
Here is a sandbox showing this issue:
https://codesandbox.io/s/react-bootstrap-table-2-56lqk
ecadagiani and miro0307
Metadata
Metadata
Assignees
Labels
No labels