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
This works fine and my columns are correctly filtered. But at some point I want to disable filtering for some specific columns and not all data in the column.
I did the following:
Configure the accessor to not be filterable
My data receives that filterable prop in configuration
Render each row and set canFilter and canSort based on configuration
But then, when I set the globalFilter, that column is still being filtered....
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a table that uses an external globalFilter that is injected in my tabla correctly like this:
useEffect(() => setGlobalFilter(customGlobalFilter), [ customGlobalFilter, setGlobalFilter, ]);
This works fine and my columns are correctly filtered. But at some point I want to disable filtering for some specific columns and not all data in the column.
I did the following:
But then, when I set the globalFilter, that column is still being filtered....
Any idea why?
react-table version: 7.7.0
Beta Was this translation helpful? Give feedback.
All reactions