Data Grid - Multi filters
Apply multiple filters at the same time.
Multi filters allow filtering rows by multiple columns with multiple criteria. The following demo lets you filter the rows according to several criteria at the same time.
Name
Rating
Country
Created on
Is admin?
Fred Terry
2

12/6/2024
Eugenia Barrett
3

5/25/2024
Myra Guzman
4

6/28/2024
Alex Hamilton
3

10/31/2024
Dominic Dunn
2

12/19/2024
Lucille Morton
4

4/12/2025
Marion Higgins
1

2/27/2025
Chris Mendoza
2

6/9/2024
Lloyd Patrick
5

7/18/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?
Brandon Newton
1

4/22/2025
Ivan Ruiz
1

3/16/2025
Daisy Riley
3

12/25/2024
Eric Todd
1

8/16/2024
Lois Schneider
4

12/1/2024
Jane Hart
3

1/31/2025
Chad Fowler
1

5/23/2024
Mike Thomas
4

1/3/2025
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?
Isabelle McGuire
4

10/26/2024
Edward Griffin
3

1/9/2025
Bertie Cruz
1

5/4/2024
Albert Watson
2

3/12/2025
Isabella Williamson
2

11/21/2024
Joe Lee
5

1/24/2025
Georgie Barnett
5

12/15/2024
Jennie Carr
5

4/22/2025