Skip to content

GridFilterItem API

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

Demos

Import

import { GridFilterItem } from '@mui/x-data-grid-premium'
// or
import { GridFilterItem } from '@mui/x-data-grid-pro'
// or
import { GridFilterItem } from '@mui/x-data-grid'


Filter item definition interface.

Properties

The column from which we want to filter the rows.

Type:string


The name of the operator we want to apply.

Type:string


Optional

Must be unique.
Only useful when the model contains several items.

Type:number | string


Optional

The filtering value.
The operator filtering function will decide for each row if the row values is correct compared to this value.

Type:any