ColumnMenuProps
Defines the props of the ColumnMenu component.
Definition
Package:@progress/kendo-react-data-tools
Properties
expandFilters?
boolean
Sets the initial expand state of the filters.
false
field?
string
Sets the column field the menu operates on.
filter?
CompositeFilterDescriptor[]
Sets the CompositeFilterDescriptor[] applied to the data.
filterContent?
any[]
Provides the filtering UI components in render order. Supply up to three components: first filter, logic, second filter.
Returns the initial CompositeFilterDescriptor based on the current field. Use to customize starting filter values.
CompositeFilterDescriptor
Fires before the ColumnMenu items render. Use to add or remove items.
defaultRendering holds sorting and filtering elements.
props exposes the column field and closeMenu() helper.
ReactNode
onFilterChange?
(event: SyntheticEvent<any, Event>, filter: CompositeFilterDescriptor[], field: string) => void
Fires when filtering changes. Receives the browser event, the new CompositeFilterDescriptor[], and the column field.
onSortChange?
(event: SyntheticEvent<any, Event>, sort: SortDescriptor[], field: string) => void
Fires when sorting changes. Receives the browser event, the new SortDescriptor[], and the column field.
Fires before the ColumnMenu renders. Use to override the entire rendering.
defaultRendering contains the menu button and popup elements (and license watermark when present).
ReactNode
sort?
SortDescriptor[]
Sets the SortDescriptor[] applied to the data.
sortAsc?
boolean
Shows the ascending sort button when true.
false
sortDesc?
boolean
Shows the descending sort button when true.
false