This example demonstrates how to add a new item to the field header's pop-up menu. This item shows or hides totals in the PivotGrid control.
For this, handle the PivotGridControl.PopupMenuShowing event. In the PopupMenuShowing event handler, create a new menu item and add it to the e.Menu.Items collection.
- Form1.cs (VB: Form1.vb)
- Program.cs (VB: Program.vb)
(you will be redirected to DevExpress.com to submit your response)