Skip to main content

Field Header Context Menu

  • 2 minutes to read

The field header context menu can be invoked by right-clicking the field header. This menu allows end-users to invoke the customization form and change the field’s visibility, calculation options, and position among the other fields in the same area.

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

Availability

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

Contents

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

The pivot grid’s OptionsCustomize.Hiding, OptionsCustomize.Moving, OptionsDataField.Moving and OptionsCustomize.QuickCustomization properties control the availability of individual options in the built-in pop-up menu. Use the PopupMenus.FieldHeaderMenu.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.

Note

For field groups, the Order menu item is always hidden. To re-arrange field groups among the other fields, users can do one of the following:

  • Drag and drop field groups or other fields;

  • Invoke the field header context menu for other (non-grouped) fields and use the Order submenu for these fields.

Behavior

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

See Also