Skip to content

Data Grid — Excel & filter bar

Data Display

Both filter types in one grid: the grid keeps the filter bar and the columns that want a value list switch to the Excel menu with filter: { mode: 'excel' } (or the other way round with filterMode="excel" and filter: { mode: 'filterBar' } ). A column filtered by the Excel menu leaves its cell in the filter row empty.

Examples

Excel filter and filter bar columns

The grid keeps the filter bar ( filterMode="filterBar" , the default) and individual columns switch to the Excel menu with filter: { mode: 'excel' } . Product, Category and Price filter from the bar (text, select and number controls); Supplier and Status use the Excel filter in their header, and their cell in the filter row stays empty so the columns line up. Use it when some columns want a quick control (a price floor) and others a long value list. Both produce the same FilterState .

No filters active
Wireless Headphones Pro Electronics Sonora Active 149.99
Ergonomic Office Chair Furniture Sitwell Active 429.00
USB-C Hub 7-in-1 Electronics Active 49.95
Standing Desk 140cm Furniture Sitwell Active 599.00
Mechanical Keyboard MX Electronics Keyforge Active 189.00
Webcam 4K Ultra Electronics Sonora Discontinued 219.99
Laptop Stand Aluminum Accessories Active 79.99
Noise-Cancel Earbuds Electronics Sonora Draft 99.00
LED Desk Lamp Accessories Lumen Active 59.99
Cable Organizer Kit Accessories Lumen Discontinued 24.50

Active filters: none