Back to Devexpress

Grouping Value Context Menu

vcl-157012-expresspivotgrid-concepts-grouping-value-context-menu.md

latest1.7 KB
Original Source

Grouping Value Context Menu

  • Mar 21, 2024

The grouping value context menu can be invoked by right-clicking the grouping field value. This menu allows end-users to expand or collapse grouping columns and rows.

The table below lists the main properties which affect the menu’s appearance and behavior:

|

Availability

|

The pivot grid’s PopupMenus.GroupValueMenu.UseBuiltInMenu option.

| |

Contents

|

To invoke a custom pop-up menu at runtime, specify the menu via the pivot grid’s PopupMenus.GroupValueMenu.PopupMenu and set the PopupMenus.GroupValueMenu.UseBuiltInMenu property to False. Otherwise, the built-in pop-up menu will be displayed.

Use the PopupMenus.GroupValueMenu.Items property to toggle the visibility of specific menu items in the built-in pop-up menu.

Handle the pivot grid’s PopupMenus.OnPopup event to customize the contents of the invoked pop-up menu.

| |

Behavior

|

Handle the pivot grid’s PopupMenus.OnClick event to respond to clicks on menu items.

|

See Also

Field Header Context Menu

Header Area Context Menu