Can we set the autoRemove for Pre-built Filter Functions and import MRT_FilterFns? #376
-
In We can see all built-in FilterFns will auto remove the filter when the value is falsy, such as 0 or false. If I want to filter the column with value = false, (FilterFn).autoRemove should be something like Otherwise, the filter will be removed after setting the filter value, Then we need to import the MRT_FilterFns to customize their I believe that we should be able to set the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
v1.8.0 just shipped and it includes exports for all MRT_FilterFns. You can now import them, mutate them, and then pass them back to the MRT in the |
Beta Was this translation helpful? Give feedback.
v1.8.0 just shipped and it includes exports for all MRT_FilterFns.
You can now import them, mutate them, and then pass them back to the MRT in the
filterFns
prop.