PivotGridSettings.AddPopupMenuItem Property
In This Article
Enables you to customize the context menu.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public PivotAddPopupMenuItemEventHandler AddPopupMenuItem { get; set; }
#Property Value
Type | Description |
---|---|
Pivot |
A Pivot |
#Remarks
The AddPopupMenuItem event enables you to hide individual menu items. For instance, you can hide the ‘Hide’ menu item to prevent a user from hiding fields.
The item currently being processed, is identified by the event parameter’s MenuItem property. It’s visibility is controlled by the Add property. Set this property to false, to hide the item from the menu.
See Also