Skip to content
Discussion options

You must be logged in to vote

To anyone who finds this:

https://tanstack.com/table/v8/docs/api/features/filters#can-filter

What is missing in the code is adding the following snippet in useReactTable

getColumnCanGlobalFilter: (column) => {
     // any code you need
    return true; 
},

By doing this, the column will also be caught in the global filter.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Eiley2
Comment options

Answer selected by fpicoitoj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants