React-table - 为一列禁用全局过滤器,但为禁用的列添加另一个过滤器

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

是否可以为一列禁用全局过滤器,但在 react-table 中为禁用的过滤器添加另一个过滤器? 类似于:

我找到了解决方案,如果有人需要这个:

     {
            Header: 'Age',
            accessor: 'age',
            Filter: SliderColumnFilter,
            filter: 'equals',
            disableGlobalFilter: true,
          },