TanStack

table_getGlobalAutoFilterFn

Function: table_getGlobalAutoFilterFn()

ts
function table_getGlobalAutoFilterFn(): CreatedFilterFn<any, any>;

Defined in: features/global-filtering/globalFilteringFeature.utils.ts:45

Provides the built-in automatic global filter function.

Global filtering defaults to includesString, which gives search-box style matching across globally filterable columns.

Returns

CreatedFilterFn<any, any>

Example

ts
const filterFn = table_getGlobalAutoFilterFn()