createContextMenu
createContextMenu: generated from the source of active-grid.
Exported by @workspace/. Generated from the package source; part of the index of every export.
Search all pages, headings and text, in the current package or topic or in all documentation.
createContextMenu: generated from the source of active-grid.
Exported by @workspace/. Generated from the package source; part of the index of every export.
Utility to build context menu items in a type-safe way.
It declares the permission check and lets resolve do the rest: filtering on permission AND visible, giving the destructive tail its line, and cleaning up — at the top level and in every submenu.
<TData>(options: CreateContextMenuOptions<TData>) => ContextMenuBuilder<TData>