-
Notifications
You must be signed in to change notification settings - Fork 933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paging resets when serverside search and change page #762
Labels
Comments
Thanks for finding this, there is a bug here, but it's a bit more subtle than it appears. We definitely need to override the page value the first time a search is entered. However, in subsequent page updates, we should allow the page to change. I put some notes in the PR. It's possible there won't be a fix without a state refactor overhaul for the whole table. :( |
gabrielliwerant
pushed a commit
that referenced
this issue
Aug 9, 2019
Should be resolved in |
SkyCaptainess
added a commit
to SkyCaptainess/Material-UI-datatables
that referenced
this issue
May 21, 2023
* Fix to not resest page when props has page #762 gregnb/mui-datatables#762 * Switching to serverSide instead of page to keep client side working the same way
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Page passed in as prop should be taken
Current Behavior
Page prop is ignored when search is not null. This disables paging when search exists and done serverside with table reload
Steps to Reproduce (for bugs)
Your Environment
The text was updated successfully, but these errors were encountered: