GridFilterModel Interface
Model describing the filters to apply to the grid.
Import
import { GridFilterModel } from '@mui/x-data-grid-premium';
// or
import { GridFilterModel } from '@mui/x-data-grid-pro';
// or
import { GridFilterModel } from '@mui/x-data-grid';
Properties
Name | Type | Default | Description |
---|---|---|---|
items | GridFilterItem[] | [] | |
logicOperator? | GridLogicOperator | GridLogicOperator.Or |
- GridLogicOperator.And : the row must pass all the filter items.- GridLogicOperator.Or : the row must pass at least on filter item. |
quickFilterLogicOperator? | GridLogicOperator | GridLogicOperator.And |
- GridLogicOperator.And : the row must pass all the values.- GridLogicOperator.Or : the row must pass at least one value. |
quickFilterValues? | any[] | [] |
values used to quick filter rows |