PivotAddPopupMenuItemEventArgs Class
Provides data for the ASPxPivotGrid.AddPopupMenuItem event.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
Declaration
Remarks
The ASPxPivotGrid can display two popup menus:
Field Header Popup Menu
This menu is shown after an end-user has right-clicked a field header. It provides the ability to hide fields, reload the control’s data and show/hide the customization window.
Field Value Popup Menu
Right-click a field value to invoke this menu which allows you to expand/collapse field values.
Handle the ASPxPivotGrid.AddPopupMenuItem event to hide individual menu items. The event parameter’s PivotAddPopupMenuItemEventArgs.MenuItem property identifies the menu item currently being processed. To hide the required item, set the PivotAddPopupMenuItemEventArgs.Add property to false.