Controlled pagination filtering stuck in continuous render #2406
-
Hi, I have forked the example of controlled pagination and added a filtering code to test the server-side filtering. (v7) https://codesandbox.io/s/agitated-saha-kr4vd?file=/src/App.js As the docs([How can I use the table state to fetch new data?](How can I use the table state to fetch new data?)) mentioned that adding the
But my table is rendering every time and if I try to filter the column then filter value disappears. Can anyone help me how to fix this issue? Is this an issue with the implementation of filtering or a bug? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
You probably wanna check out the |
Beta Was this translation helpful? Give feedback.
-
Hi, Nirav |
Beta Was this translation helpful? Give feedback.
You probably wanna check out the
autoResetFilters
option (link) -- setting it tofalse
should get the result you want.