Data Grid - Multi filters
Apply multiple filters at the same time.
Multi filters allow filtering rows by multiple columns with multiple criteria.
To add more filters, use the Add Filter
button on the filter panel.
The following demo lets you filter the rows according to several criteria at the same time.
Name
Rating
Country
Created on
Is admin?
Bryan Singleton
4

10/19/2024
Ada Strickland
3

5/26/2024
Caroline Alexander
4

3/3/2025
Edward Hale
1

10/29/2024
Hunter Perez
1

4/8/2025
Nelle Gibbs
4

5/6/2025
Rosetta Vargas
1

1/12/2025
Nathan Webb
4

6/24/2024
One filter per column
You can also limit to only one filter per column while still allowing to filter other columns. For this, use the filterColumns
and getColumnForNewFilter
props available in slotProps.filterPanel
.
Use cases
- Sometimes it's a limitation of some server-side filtering APIs to only allow one filter per column.
- You can also write custom logic to prevent some columns from being shown as possible filters.
This demo implements a basic use case to prevent showing multiple filters for one column.
Name
Rating
Country
Created on
Is admin?
Leah Martin
5

12/19/2024
Henry Watts
5

11/20/2024
Maurice Walton
3

11/27/2024
Mary Vasquez
4

6/5/2024
Louisa Atkins
2

12/23/2024
Albert Gomez
4

6/14/2024
John Cruz
1

12/15/2024
Tommy Frank
5

5/25/2024
Disable action buttons
To disable Add filter
or Remove all
buttons, pass disableAddFilterButton
or disableRemoveAllButton
to componentsProps.filterPanel
.
Name
Rating
Country
Created on
Is admin?