Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Static Functions API Reference
Legacy API Reference
Static Functions API Reference

table_setGlobalFilter

Function: table_setGlobalFilter()

ts
function table_setGlobalFilter<TFeatures, TData>(table, updater): void;
function table_setGlobalFilter<TFeatures, TData>(table, updater): void;

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

Routes a global filter updater through the table's global filter handler.

The updater may be a next value or a function of the previous value, matching the instance table.setGlobalFilter behavior.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

updater

any

Returns

void

Example

ts
table_setGlobalFilter(table, 'search text')
table_setGlobalFilter(table, 'search text')