Documentation for the built-in filter types #2859
Unanswered
bendykstra94
asked this question in
Ideas
Replies: 1 comment 2 replies
-
Can we get some documentation for this? I'm just guessing stuff at this point. |
Beta Was this translation helpful? Give feedback.
2 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.
-
As I understand from the docs
filterTypes: Object<filterKey: filterType>
there is no documentation for the built ins such as 'between'. When viewing the code-sandbox for filtering I was confused because I had not specified a 'between' filter in the filterTypes object.
Can we add a small section in the useFilter documentation under the column
filter
options:Defaults to 'text'. Other built in options include 'exactText', 'exactTextCase', 'includes', 'includesAll', 'includesSome', 'includesValue', 'exact', 'equals', and 'between'. See [here](https://github.com/tannerlinsley/react-table/blob/master/src/filterTypes.js) for implementation details
Beta Was this translation helpful? Give feedback.
All reactions