You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to remove an element from a paginated table, with 'expected' behavior: the current page doesn't change, except when you're deleting the last element on the current page.
Simply removing the element from the data source triggers a page reset
Disabling autoResetPage breaks when you delete the last element on the page
What is the recommended way to do this with react-table?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to remove an element from a paginated table, with 'expected' behavior: the current page doesn't change, except when you're deleting the last element on the current page.
autoResetPage
breaks when you delete the last element on the pageWhat is the recommended way to do this with react-table?
Beta Was this translation helpful? Give feedback.
All reactions