GridColumnMenuFilterProps

The props of the GridColumnMenuFilter component.

NameTypeDefaultDescription

alwaysExpand?

boolean

If set to true, filter expand button will not be rendered and filter menu will be expanded.

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.

filterable?

boolean

The filterable option of the column.

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).

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