JavaScript Data Grid Column menu
Display a configurable dropdown menu, triggered by clicking on a button in a column header.
In this article
Overview
The DropdownMenu
plugin enables you to add a configurable dropdown menu to the table's column headers.
The dropdown menu acts like the context menu but is triggered by clicking the button in the header.
Quick setup
To enable the plugin, set the dropdownMenu
configuration option to true
when initializing Handsontable.
Plugin configuration
To use the default dropdown contents, set it to true
, or to customize it by setting it to use a custom list of actions. For the available entry options reference, see the Context Menu demo.
Related keyboard shortcuts
Windows | macOS | Action | Excel | Sheets |
---|---|---|---|---|
Shift+Alt+↓ | Shift+Option+↓ | Open the column menu. Works in any cell, if the respective column header displays the menu button. | ✗ | ✗ |
Shift+Enter | Shift+Enter | Open the column menu. Works only when you're selecting a column header that displays the column menu button. | ✗ | ✗ |
Related articles
Related guides
Related API reference
- Configuration options:
- Hooks:
- Plugins: