gregnb / gregnb/mui-datatables
Dynamic pagination not being updated in tableState
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
Changing page number in options not changing current page of the table. It works in version `2.0.0-beta-51` but not `^2.11.1`.
## Expected Behavior
https://codesandbox.io/s/muidatatables-custom-toolbar-bh90w
Changing page number in options changes current table page.
## Current Behavior & Steps to Reproduce (for bugs)
https://codesandbox.io/s/muidatatables-custom-toolbar-zibqc?fontsize=14 . (Same code, just different versions)
Changing page number in options should change current table page.
## Your Environment
| Tech | Version |
|--------------|---------|
| Material-UI | 4.1.3 |
| MUI-datatables | 2.11.1 |
| React | 16.8.6 |
| browser | Chrome Version 77.0.3865.90 (Official Build) |
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.