Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 2.12 KB

grid-filter-item.md

File metadata and controls

31 lines (22 loc) · 2.12 KB

GridFilterItem Interface

Filter item definition interface.

Demos

:::info For examples and details on the usage, check the following pages:

:::

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';

Properties

Name Type Description
field string The column from which we want to filter the rows.
id? number | string Must be unique.
Only useful when the model contains several items.
operator string The name of the operator we want to apply.
value? any The filtering value.
The operator filtering function will decide for each row if the row values is correct compared to this value.