ColumnMenuProps
The props of the ColumnMenu component.
Name | Type | Default | Description |
---|---|---|---|
expandFilters? |
|
Defines the initial expand state of the filters.
Defaults to | |
field? |
|
The field to which the ColumnMenu is bound. | |
filter? |
|
The descriptors by which the data is filtered. | |
filterContent? |
|
Defines the filtering UI and accepts an array with components. | |
initialFilter? |
|
A function that returns the initial filter descriptor base on the ColumnMenu field. Use it to customize the initial values of the filtering components. | |
itemsRender? |
|
Fires when the ColumnMenu items are about to be rendered. Use it to add or remove menu items.
The | |
onFilterChange? |
|
Fires when the ColumnMenu filter is changed. | |
onSortChange? |
|
Fires when the sorting of the ColumnMenu is changed. | |
render? |
|
Fires when the ColumnMenu is about to be rendered. Use it to override the default rendering of the ColumnMenu.
The defaultRendering is an array with the button | |
sort? |
|
The descriptors by which the data is sorted. | |
sortAsc? |
|
If set to | |
sortDesc? |
|
If set to |