Replies: 1 comment 1 reply
-
Code sandbox url of the same please |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I've been trying to implement a simple checkbox filter. The function I made is like so
const handleChecked = (e) => { if(e.target.checked){ const filtered = preFilteredRows.filter((row) => row.values[id] !== "-") } } });
Where filtered is the output when the checkbox is true. I'm having a hard time integrating this simple function as a custom filter type in react-table. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions