Data Grid — Filtering
Data DisplayfilterMode : 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 .
| Product | Status | Price |
|---|---|---|
| Wireless Headphones Pro | Active | 149.99 |
| Ergonomic Office Chair | Active | 429.00 |
| USB-C Hub 7-in-1 | Active | 49.95 |
| Webcam 4K Ultra | Discontinued | 219.99 |
| Noise-Cancel Earbuds | Draft | 99.00 |
| LED Desk Lamp | Active | 59.99 |