PivotGridSettings.PopupMenuCreated Property
Enables you to create custom menu items.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Web.ASPxPivotGrid.PivotPopupMenuCreatedEventHandler | A DevExpress.Web.ASPxPivotGrid.PivotPopupMenuCreatedEventHandler delegate method allowing you to implement custom processing. |
Remarks
Handle the PopupMenuCreated event to create custom menu items. The context menu can be obtained via the PivotPopupMenuCreatedEventArgs.Menu property. Its type is returned by the PivotPopupMenuCreatedEventArgs.MenuType property.
To add a new menu item, use the MenuItemCollection.Add method. To hide default menu items, handle the PivotGridSettings.AddPopupMenuItem event.
To define an action for a custom menu item(s), handle the ASPxClientPivotGrid.PopupMenuItemClick event.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PopupMenuCreated property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.