vcl-170042-expressquantumtreelist-concepts-group-footer-context-menu.md
The group footer context menu allows end-users to specify the required summary types, adjust the calculation base or disable summary calculation for group footer cells. This menu can be invoked by right-clicking a group footer or any group footer cell.
The table below lists the main properties which affect the menu’s appearance and behavior:
|
Availability
|
The TreeList control’s PopupMenus.GroupFooterMenu.UseBuiltInMenu option.
| |
Contents
|
To invoke a custom context menu at runtime, specify the menu via the TreeList control’s PopupMenus.GroupFooterMenu.PopupMenu property, and set the PopupMenus.GroupFooterMenu.UseBuiltInMenu property to False. Otherwise, the built-in context menu will be displayed.
Use the TreeList control’s PopupMenus.GroupFooterMenu.Items property to toggle the visibility of specific menu items in the built-in context menu.
Handle the TreeList control’s PopupMenus.GroupFooterMenu.OnPopup event to customize the contents of the invoked context menu.
| |
Behavior
|
Handle the TreeList control’s PopupMenus.GroupFooterMenu.OnClick event to respond to clicks on items within the built-in context menu.
|
See Also