What it means
Context menus keep selection-scoped actions one right-click away.
Interaction guide
Open the full menu from a selection.
Context menus keep selection-scoped actions one right-click away.
Use this when the action depends on the current selection. Keep page-level actions in the toolbar instead of the menu.
Start with `api.buildContextMenuConfig(...)`. Keep the menu shell props, menu groups, and custom actions close together. Use `type: "submenu"` when a group needs to stay compact without flattening the whole menu. Use Reset to restore the seeded menu state, rows, columns, and status text.
Start with contextMenu.enabled, contextMenu.items, contextMenu.closeOnSelect, contextMenu.renderMenu, contextMenu.onOpen, contextMenu.onClose, contextMenu.onAction, contextMenu.handlers. Open the live API reference for types and defaults.