PivotAddPopupMenuItemEventArgs.MenuItem Property

Gets which menu item is currently being processed.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v21.1.dll

Declaration

public MenuItemEnum MenuItem { get; }

Property Value

Type Description
MenuItemEnum

A MenuItemEnum enumeration value that identifies the menu item currently being processed.

Available values:

Show 11 items
Name Description
HeaderRefresh

Corresponds to the menu item used to refresh the ASPxPivotGrid’s data. This menu item is displayed within the Field Header Popup Menu.

To refresh the control’s data in code, use the ASPxPivotGrid.ReloadData method.

HeaderHide

Corresponds to the menu item used to hide individual field headers. This menu item is displayed within the Field Header Popup Menu.

HeaderShowList

Corresponds to the menu item used to invoke the Customization Window that displays hidden fields. This menu item is displayed within the Field Header Popup Menu.

HeaderShowPrefilter

Corresponds to the menu item used to invoke the Prefilter Editor used to build complex filter expressions. This menu item is displayed within the Field Header Popup Menu.

HeaderShowFilter

Corresponds to the menu item used to invoke the Filter Editor used to build complex filter expressions. This menu item is displayed within the Field Header Popup Menu.

FieldValueExpand

Corresponds to the menu item used to expand/collapse individual field values. This menu item is displayed within the Field Value Popup Menu.

FieldValueExpandAll

Corresponds to the menu item used to expand/collapse all field values displayed within the row header area or column header area. This menu item is displayed within the Field Value Popup Menu.

FieldValueSortBySummaryFields

Corresponds to the menu item used to sort row or column field values by column or row summary value, respectively. This menu item is displayed within the Field Value Popup Menu.

HeaderSortAscending

Corresponds to the menu item used to apply sorting in ascending order.

HeaderSortDescending

Corresponds to the menu item used to apply sorting in descending order.

HeaderClearSorting

Corresponds to the menu item used to clear sorting.

Remarks

The ASPxPivotGrid.AddPopupMenuItem event enables you to hide individual menu items. Use the MenuItem property to identify which menu item is currently being processed. To hide the required menu item, set the PivotAddPopupMenuItemEventArgs.Add property to false.

See Also