ColumnMenuProps

The props of the ColumnMenu component.

field string

The field to which the ColumnMenu is bound.

filter? CompositeFilterDescriptor[]

The descriptors by which the data is filtered.

filterContent? any[]

Defines the filtering UI and accepts an array with components. See example …

initialFilter? (field: string) => CompositeFilterDescriptor

A function that returns the initial filter descriptor base on the ColumnMenu field. Use it to customize the initial values of the filtering components.

onFilterChange? (event: SyntheticEvent<any>, filter: CompositeFilterDescriptor, field: string) => void

Fires when the ColumnMenu filter is changed.

onSortChange? (event: SyntheticEvent<any>, sort: SortDescriptor[], field: string) => void

Fires when the sorting of the ColumnMenu is changed.

sort? SortDescriptor[]

The descriptors by which the data is sorted.

sortAsc? boolean

If set to true, a button for sorting in asc direction will be rendered.

sortDesc? boolean

If set to true, a button for sorting in desc direction will be rendered.