ContextMenuSettings

Defines configuration settings for the context menu functionality in the grid. Specifies whether the context menu is enabled, which items to display, and customization options. Used to control context menu behavior, available actions, and appearance properties.

Props

The following table outlines the props for the ContextMenuSettings:

NameTypeDefaultDescription
enabled
boolean
false

Indicates whether the context menu feature is enabled in the grid. When true, displays the context menu on right-click; when false, disables the feature. Useful for conditional enabling/disabling context menu functionality based on application state.

items
(ContextMenuItem | ContextMenuItemProps)[]
undefined

Specifies the context menu items to display when the context menu is triggered. Supports both default built-in items (via ContextMenuItem type) and custom items (via ContextMenuItemProps). Items determine which actions are available to users through the context menu.

menuSettings
Partial<ComponentProps>
undefined

Provides custom configuration properties for the underlying Syncfusion ContextMenu component. Allows customization of menu appearance, behavior, animations, and other ContextMenu-specific settings.