Data Grid — Filter bar
Data DisplayfilterMode="filterBar" (the default): a filter control per column under the header, chosen with filter.type (text, select, multi-select, date, date range, number, switch or your own template). It works on local data and in server mode, where the grid emits the query and you load the page.
Examples
Column filters (local data)
Demonstrates all filter control types applied to a local data source. All filtering, sorting and pagination run entirely in-browser.
inputProduct Name — custom placeholder override
selectCategory — default "Filter" placeholder
multi-selectStatus — default "Filter" placeholder
switchIn Stock — boolean toggle
customPrice — dual range template
numberRating — default "Filter" placeholder
datepickerReleased — default "Filter" placeholder
date-rangeLast Updated — default "Filter" placeholder
– | ||||||||
|---|---|---|---|---|---|---|---|---|
| 1 | Wireless Headphones Pro | Electronics | Active | 149.99 | 4.50 | 15/03/2024, 02:00 | 10/08/2026, 03:00 | |
| 2 | Ergonomic Office Chair | Furniture | Active | 429.00 | 4.80 | 01/11/2023, 02:00 | 22/07/2026, 03:00 | |
| 3 | USB-C Hub 7-in-1 | Electronics | Active | 49.95 | 4.20 | 20/01/2024, 02:00 | 01/09/2026, 03:00 | |
| 4 | Standing Desk 140cm | Furniture | Active | 599.00 | 4.70 | 10/06/2023, 03:00 | 15/06/2026, 03:00 | |
| 5 | Mechanical Keyboard MX | Electronics | Active | 189.00 | 4.60 | 05/05/2024, 03:00 | 20/09/2026, 03:00 | |
| 6 | Webcam 4K Ultra | Electronics | Discontinued | 219.99 | 3.90 | 18/09/2022, 03:00 | 01/12/2025, 02:00 | |
| 7 | Monitor 27" 4K IPS | Electronics | Active | 649.00 | 4.90 | 28/02/2024, 02:00 | 01/10/2026, 03:00 | |
| 8 | Laptop Stand Aluminum | Accessories | Active | 79.99 | 4.30 | 14/04/2023, 03:00 | 30/05/2026, 03:00 |
Column filters (server mode)
Demonstrates per-column filters in server mode. Every filter, sort, or page change triggers a mock server query (no real HTTP calls — all data lives in-memory).
Last server request params:
(none yet — interact with the grid)