To accomplish this task, it is necessary to enable the Sorting by Summary and Top N Values features simultaneously. To add a custom context menu item, handle the PivotGridControl.PopupMenuShowing event. Please refer to the attached sample project demonstrating this approach.
↧