Replies: 2 comments 2 replies
-
|
Did you manage to solve this issue? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
For anyone wondering you can toggle if the column is filterable with |
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.
-
I am using

setHiddenColumnsto hide certain columns in a table. The hidden columns can be made visible by selecting it from a list of columns.There's also a search bar at the top of the table which is used to filter the rows based on the text entered. I am using properties from
useGlobalFiltershook to implement the search functionality.The
setGlobalFiltersearches/filters on every column in the table (which is fine given its global nature). There is another hook calleduseFilterswhich provides properties to add column specific filters.But I am looking for something in-between. I want a global search/filter that only filters on the visible columns (and excludes hidden columns from its search database). I cannot do this using
setFiltermethod fromuseFiltershook since it only accepts one column id.Is there another function existing that allows using global filters on non-hidden columns? If there is no such existing function, is there a way I can implement it?
Beta Was this translation helpful? Give feedback.
All reactions