T
TanStack3y ago
adverse-sapphire

React- Delete and pagination

I am having a delete button in each row and also i am using normal pagination, and it deletes that row, but when i delete that row on any other pages (except from pageIndex 0 say 1st page), i am set back to 1st page say i am on page 3 right now and i delete on row there i am sent back to page 1 , i fixed this issue by using- autoResetPageIndex:false in my table definition (see image), now say there is only 1 element on page 2 and when i delete it i am staying there with no elemets in that page , i want to be moved back to previous page , is there a way to do so Providing more pictures for better understanding of problem
No description
No description
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?