Skip to content

GridFilterModel API

Extended documentation for the GridFilterModel interface with detailed information on the module's properties and available APIs.

Demos

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'


Model describing the filters to apply to the grid.

Properties

Type:GridFilterItem[]

Default:[]


Optional

- GridLogicOperator.And: the row must pass all the filter items.
- GridLogicOperator.Or: the row must pass at least on filter item.

Type:GridLogicOperator

Default:GridLogicOperator.And


Optional

If false, the quick filter will also consider cell values from hidden columns.

Type:boolean

Default:true


Optional

- GridLogicOperator.And: the row must pass all the values.
- GridLogicOperator.Or: the row must pass at least one value.

Type:GridLogicOperator

Default:GridLogicOperator.And


Optional

values used to quick filter rows

Type:any[]

Default:[]