Tutorial: Dropdown menu

Dropdown menu


Edit on GitHub

Overview

This plugin allows adding 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, simply set the dropdownMenu property to true, when initializing Handsontable.

Plugin configuration

You can use the default dropdown contents by setting it to true, but if you'd like to customize it a little you can set it to use a custom list of actions, for example:

For the entry options reference, see the Context Menu demo.