[v8] How can I have a custom filter component for each column? #4314
Unanswered
bertuccellimatteo
asked this question in
Q&A
Replies: 1 comment
-
The library creator has stated that he does not see a way to add this back in v8 (I do not know why this is a problem with v8 but not v7), so your only option for now is using |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
In react-table v7 I could use a custom filter component for each column by declaring it in the column definition like this:
const columns = [{ accessor: "name", Filter: MyFilterComponent }]
In the v8 column def api however you cannot do it anymore, I tried a workaround using column meta that works but does not seem the cleanest way to handle this, do you have any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions