GridColumnMenuFilterProps

The props of the GridColumnMenuFilter component.

NameTypeDefaultDescription

children?

React.ReactNode

column

GridColumnMenuColumnProps

The current column options.

expanded?

boolean

Controls the expand state of the filter component.

filter?

CompositeFilterDescriptor

The current filter state of the Grid.

filterOperators

GridFilterOperators

The filter operators for the Grid filters.

filterUI?

React.ComponentType<GridColumnMenuFilterUIProps>

Specifies a React element that will be cloned and rendered inside the UI of the column-menu filter component (see example).

filterable?

boolean

The filterable option of the column.

hideSecondFilter?

boolean

If set to false, the second filter operator and the input will be hidden.

onCloseMenu?

Function

The method that will be called to close the column menu.

Methods

onExpandChange

Triggered on each subsequent expand state of the filter component.

Parameters

nextExpandState

boolean

onFilterChange

The method that will be called to notify the parent Grid about a filter change.

Parameters

filter

"null" | CompositeFilterDescriptor

syntheticEvent

SyntheticEvent<any>

Returns

any