docs/content/guides/columns/column-menu/column-menu.md
Display a configurable dropdown menu, triggered by clicking on a button in a column header.
[[toc]]
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.
To enable the plugin, set the dropdownMenu configuration option to true when initializing Handsontable.
::: only-for javascript
::: example #example1 --js 1 --ts 2
:::
:::
::: only-for react
::: example #example1 :react --js 1 --ts 2
:::
:::
::: only-for angular
::: example #example1 :angular --ts 1 --html 2
:::
:::
::: only-for vue
::: example #example1 :vue3
@code
:::
:::
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.
::: only-for javascript
::: example #example2 --js 1 --ts 2
:::
:::
::: only-for react
::: example #example2 :react --js 1 --ts 2
:::
:::
::: only-for angular
::: example #example2 :angular --ts 1 --html 2
:::
:::
::: only-for vue
::: example #example2 :vue3
@code
:::
:::
| Windows | macOS | Action | Excel | Sheets |
|---|---|---|---|---|
| <kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>↓</kbd> | <kbd>⇧</kbd>+<kbd>⌥</kbd>+<kbd>↓</kbd> | Open the column menu. Works in any cell, if the respective column header displays the menu button. | ✗ | ✗ |
| <kbd>Shift</kbd>+<kbd>Enter</kbd> | <kbd>⇧</kbd>+<kbd>Enter</kbd> | Open the column menu. Works only when you're selecting a column header that displays the column menu button. | ✗ | ✗ |
Related guides
<div class="boxes-list"> </div>Configuration options
<div class="boxes-list"> </div>Hooks
<div class="boxes-list">Plugins
<div class="boxes-list"> </div>