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?
Nell Soto
5

10/4/2024
Mattie Mason
3

6/5/2024
Loretta Austin
5

11/6/2024
Marie Houston
4

10/25/2024
Jorge Underwood
2

8/14/2024
Max Bradley
4

1/15/2025
Amy Little
5

9/12/2024
Mae Allison
2

9/7/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?
Mabelle Byrd
3

9/28/2024
Harriet Mullins
1

8/4/2024
Herbert Rivera
5

8/18/2024
Lulu Quinn
2

3/12/2025
Della Lawson
2

6/13/2024
Nell Edwards
4

9/5/2024
Matthew Salazar
3

8/8/2024
Edith Torres
4

11/12/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?
Madge Cummings
2

8/30/2024
Lee Ball
1

8/2/2024
Louise Morton
2

1/26/2025
Daisy Wells
5

1/1/2025
Lora Nash
4

6/30/2024
Mabelle Crawford
5

9/5/2024
Ora Mullins
5

7/18/2024
Iva Hubbard
5

3/10/2025