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. |