Add filter type to Global filter #2560
Unanswered
ljrodriguez1
asked this question in
General
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.
-
When adding a filter to a column i usually do this.
{ Header: "Last Name", accessor: "lastName", Filter: MyCustomFilter, filter: 'includesSome' }
There i can choose a filter type for my CustomFilter, but when i add a GlobalFilter i do it as the documentation says.
<MyCustomFilter />
The problem with this last way is that i cant choose the filter type. cant this be done for example like
<MyCustomFilter filter='includesSome' />
This would help me a lot to make some better custom Global Filters.
Beta Was this translation helpful? Give feedback.
All reactions