CLAUDE.md — handsontable/handsontable

JavaScript Data Grid / Data Table with a Spreadsheet Look & Feel. Works with React, Angular, and Vue. Supported by the Handsontable team ⚡

6/19/2026 · 16 viewsCLAUDE.md

← Browse

ContextMenu plugin — and the shared Menu class

ContextMenu ('contextMenu') provides the right-click menu over cells and headers. It owns the shared Menu class that DropdownMenu reuses. Read this before touching contextMenu.ts, the menu/ UI, or anything that dropdownMenu builds on.

Context Menu vs Column Menu

DropdownMenu is built on the shared Menu class from contextMenu but is configured and triggered independently. When in doubt about which plugin owns a behavior, use this table.

Context menuColumn menu (dropdown menu)
Plugin class / keyContextMenu / 'contextMenu'DropdownMenu / 'dropdownMenu'
TriggerRight-click (or Ctrl+Shift+\ / Shift+F10)Column header button (or Shift+Alt+ArrowDown)
ScopeCells and headers across rows and columnsColumn-specific operations only
Hook prefixbeforeContextMenu*, afterContextMenu*beforeDropdownMenu*, afterDropdownMenu*

Where to look next

  • DropdownMenu specifics: handsontable/src/plugins/dropdownMenu/AGENTS.md.
  • Plugin contract, hooks, settings validation, lifecycle: handsontable-plugin-dev skill.

Source: handsontable/handsontable · 21941★ Repo: JavaScript Data Grid / Data Table with a Spreadsheet Look & Feel. Works with React, Angular, and Vue. Supported by the Handsontable team ⚡