ColumnMenu
configurationIf set to true, the TreeList displays 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, and, if filtering and sorting are enabled, filter and sort the data. By default, the column menu is disabled. Can be set to a JavaScript object which represents the column menu configuration.
columnMenu
Boolean|ObjectDefault: false
columnMenu.columns
BooleanIf set to true, the column menu allows the user to select (show and hide) TreeList 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 will allow the user to filter the TreeList. By default, if filtering is enabled through filterable, the column menu allows the user to filter.
Default: true
columnMenu.messages
ObjectThe text messages that is played in the column menu. Use it to customize or localize the column menu messages.
columnMenu.sortable
BooleanIf set to true, the column menu will allow the user to sort the TreeList by the column field. By default, if sorting is enabled through sortable, the column menu allows the user to sort the data.
If this option is set to
false, the user will still be able to sort by clicking the column header cell.
Default: true