GridColumnMenuProps

The props which the ColumnMenu passes to its children.

NameTypeDefaultDescription

column

GridColumnMenuColumnProps

The current column options.

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.

group?

GroupDescriptor[]

The current group state of the Grid.

groupable?

boolean

The groupable option of the column.

onCloseMenu?

Function

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

sort?

SortDescriptor[]

The current sort state of the Grid.

sortable?

SortSettings

The sortable option of the column.

Methods

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

onGroupChange

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

Parameters

groups

GroupDescriptor[]

event

MouseEvent<HTMLAnchorElement>

onSortChange

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

Parameters

descriptors

SortDescriptor[]

e

SyntheticEvent<any>