GridFilterOperator API
Filter operator definition interface.
Demos
Import
import { GridFilterOperator } from '@mui/x-data-grid-premium'
// or
import { GridFilterOperator } from '@mui/x-data-grid-pro'
// or
import { GridFilterOperator } from '@mui/x-data-grid'
The callback that generates a filtering function for a given filter item and column.
This function can return null
to skip filtering for this item and column.
Type:GetApplyFilterFn<R, V, F>
The name of the filter operator.
It will be matched with the operator
property of the filter items.
Type:string
Converts the value of a filter item to a human-readable form.
Type:(value: GridFilterItem['value']) => string
The input component to render in the filter panel for this filter operator.
Type:React.JSXElementConstructor<any>
The props to pass to the input component in the filter panel for this filter operator.
Type:Record<string, any>