GridFilterForm API
API reference docs for the React GridFilterForm component. Learn about the props, CSS, and other APIs of this exported module.
Component demos
Import
import { GridFilterForm } from '@mui/x-data-grid/components';
// or
import { GridFilterForm } from '@mui/x-data-grid';
// or
import { GridFilterForm } from '@mui/x-data-grid-pro';
// or
import { GridFilterForm } from '@mui/x-data-grid-premium';| Name | Type | Default | Description | 
|---|---|---|---|
| applyFilterChanges* | func | Callback called when the operator, column field or value is changed. | |
| applyMultiFilterOperatorChanges* | func | Callback called when the logic operator is changed. Signature: function(operator: GridLogicOperator) => void
 | |
| deleteFilter* | func | Callback called when the delete button is clicked. | |
| hasMultipleFilters* | bool | If  | |
| item* | { field: string, id?: number | string, operator: string, value?: any } | The GridFilterItem representing this form. | |
| columnInputProps | any | {} | Props passed to the column input component. | 
| columnsSort | 'asc' | 'desc' | Changes how the options in the columns selector should be ordered. If not specified, the order is derived from the  | |
| deleteIconProps | any | {} | Props passed to the delete icon. | 
| disableMultiFilterOperator | bool | If  | |
| filterColumns | func | Allows to filter the columns displayed in the filter form. Signature: function(args: FilterColumnsArgs) => void
 | |
| focusElementRef | func | object | A ref allowing to set imperative focus. It can be passed to the el | |
| logicOperatorInputProps | any | {} | Props passed to the logic operator input component. | 
| logicOperators | Array<'and' | 'or'> | [GridLogicOperator.And, GridLogicOperator.Or] | Sets the available logic operators. | 
| operatorInputProps | any | {} | Props passed to the operator input component. | 
| readOnly | bool | false | 
 | 
| showMultiFilterOperators | bool | If  | |
| valueInputProps | any | {} | Props passed to the value input component. | 
ref is forwarded to the root element.