GridContextMenuSettingsTagHelper
Example
Razor
<context-menu>
<body></body>
<groups></groups>
<head></head>
</context-menu>
ChildTags
Tag Name | Details |
---|---|
body | GridContextMenuBodyCommands |
groups | GridContextMenuGroupsCommands |
head | GridContextMenuHeadCommands |
Attributes
Attribute | Type | Description |
---|---|---|
enabled | Boolean | |
on-activate | String | Fires when a sub menu or the ContextMenu gets opened and its animation finished. |
on-close | String | Fires before a sub menu or the ContextMenu gets closed. You can cancel this event to prevent closure. |
on-deactivate | String | Fires when a sub menu or the ContextMenu gets closed and its animation finished. |
on-open | String | Fires before a sub menu or the ContextMenu gets opened. You can cancel this event to prevent opening the sub menu. |
on-select | String | Fires when a menu item gets selected. |