Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Grouping Value Context Menu

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