Change globalFilterFn at runtime? #6111
Unanswered
CapitaineToinon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I made a global filter input to my table with the option for the filter to be case sensitive or not:
Internally, this toggles a state from
includeStringtoincludeStringSensitivethat is then passed touseReactTable.However this doesn't seems to trigger any rerender. I had to make a wrap my data in a use memo and a dummy id number that I then increment for the change to be picked up.
Is this use case not intended by the library? Is there a better way to do this?
Thanks for help. 👋
Beta Was this translation helpful? Give feedback.
All reactions