What it means
Nested selection actions are a light way to hand selection-specific menu events back into the host app.
Interaction guide
Show a nested selection submenu that opens an alert for the current selection.
Nested selection actions are a light way to hand selection-specific menu events back into the host app.
Use this when one menu item should expand into a small submenu of host-owned logic. Keep the page short so the callback behavior is easy to read.
Start with `api.buildContextMenuConfig({ extraItems: [...] })`. Use `type: "submenu"` when related actions should live behind a single parent item. Use `selectionInfo.rowIds` and `selectionInfo.selectionRange` to shape the message you show in the alert. Use `onSelect` on the child action when you need the host to react. Keep `renderMenu` for shell-level overrides only.
Start with contextMenu.enabled, contextMenu.items, contextMenu.closeOnSelect, contextMenu.renderMenu, contextMenu.onOpen, contextMenu.onClose, contextMenu.onAction, contextMenu.className. Open the live API reference for types and defaults.