Skip to main content

PivotGridSettings.PopupMenuCreated Property

Enables you to create custom menu items.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public PivotPopupMenuCreatedEventHandler PopupMenuCreated { get; set; }

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.

See Also