table_setGlobalFilter
function table_setGlobalFilter<TFeatures, TData>(table, updater): void;Defined in: features/global-filtering/globalFilteringFeature.utils.ts:99
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
table_setGlobalFilter(table, 'search text')