ColumnMenu
configurationIf set to true the grid will display the column menu when the user clicks the chevron icon in the column headers. The column menu allows the user to show and hide columns, filter and sort (if filtering and sorting are enabled).
By default the column menu is not enabled.
Can be set to a JavaScript object which represents the column menu configuration.
columnMenu
Boolean|ObjectDefault: false
columnMenu.adaptiveMode
StringIf set to auto and the filterMenu will use adaptive rendering.
The Adaptive Rendering of the Column Menu is available only for
moderncomponentType
Default: 'none'
columnMenu.autoSize
BooleanIf set to true the column menu would allow the user to fit one or all columns to the width of their content. This setting is available only when the tabbed componentType is used.
Default: false
columnMenu.clearAllFilters
BooleanIf set to true, the global column menu will render a button to allow the user to clear all filters applied to the grid.
Default: false
columnMenu.columns
Boolean|ObjectIf set to true the column menu would allow the user to select (show and hide) grid columns. By default the column menu allows column selection.
Default: true
columnMenu.componentType
StringSpecifies the component type of the column menu.
"classic"- Uses the standard rendering of the column menu."modern"- Uses new rendering with a fresh and modern look and feel."tabbed"- Uses the rendering of the"modern"menu, but splits its content into different tabs.
Default: "classic"
columnMenu.filterable
BooleanIf set to true the column menu would allow the user to filter the grid. By default the column menu allows the user to filter if filtering is enabled via the filterable.
Default: true
columnMenu.messages
ObjectThe text messages displayed in the column menu. Use it to customize or localize the column menu messages.
columnMenu.sortable
BooleanIf set to true the column menu would allow the user to sort the grid by the column field. By default the column menu allows the user to sort if sorting is enabled via the sortable option.
If this option is set to
falsethe user could still sort by clicking the column header cell.
Default: true