Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React-table - disable global filter for one column, but add another filter for disabled one

Is it possible to disable global filter for one column, but add another filter for disabled one in the react-table ? Something like:

enter image description here

like image 836
klijakub Avatar asked Oct 13 '25 10:10

klijakub


1 Answers

I've found the solution, in case if someone need this:

     {
            Header: 'Age',
            accessor: 'age',
            Filter: SliderColumnFilter,
            filter: 'equals',
            disableGlobalFilter: true,
          },
like image 124
klijakub Avatar answered Oct 14 '25 23:10

klijakub