Skip to main content

Function: applyFilters()

applyFilters<Row>(spec, rows, state): Row[]

Defined in: packages/sdvtables/src/engine.ts:252

Beta

The rows state keeps, in input order: its external filter, every column filter and the global search over the visible columns, all ANDed. Engine plumbing for custom renderers: it may change before 1.0.

Type Parameters​

Row​

Row

Parameters​

spec​

TableSpec<Row>

rows​

readonly Row[]

state​

TableState<Row>

Returns​

Row[]