Skip to content

Data Grid — Filtering

Data Display

Two filter types, chosen with filterMode : the filter bar (a control per column under the header, the default) and the Excel filter (a menu on each header), or both in one grid, column by column. Every type produces the same FilterState , in local and server mode. The matching rules come from the shared grid engine ( @atlas/components/data-display/grid-core ), which also works without the grid.

Examples

Filter engine without the grid

The grid's filter, search and sort rules live in @atlas/components/data-display/grid-core ( compileColumnFilters , compileGlobalSearch , sortRows ), so any list or native table can match exactly like the grid. Here a native atlasTable gets the grid's case-insensitive search, an equals status filter, a numeric gte price filter and the grid's sort order. Columns only need field and, for numbers and dates, type .

Status
Sort by
6 of 6 products
ProductStatusPrice
Wireless Headphones ProActive149.99
Ergonomic Office ChairActive429.00
USB-C Hub 7-in-1Active49.95
Webcam 4K UltraDiscontinued219.99
Noise-Cancel EarbudsDraft99.00
LED Desk LampActive59.99