Skip to content

The following example shows how to customize the field header's context menu in the PivotGridControl.PopupMenuShowing event handler. The event allows you to change the SummaryDisplayType value of the field.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-pivot-change-summarydisplaytype-in-context-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pivot Grid for WinForms - How to Change SummaryDisplayType in the Context Menu

The following example shows how to customize the field header's context menu in the PivotGridControl.PopupMenuShowing event handler. The event adds a new item to the Number field header's context menu and allows you to change the SummaryDisplayType value.

custom-context-menu

Set the PivotGridFieldOptions.AllowRunTimeSummaryChange property to true to allow users to change the data field’s summary type.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

The following example shows how to customize the field header's context menu in the PivotGridControl.PopupMenuShowing event handler. The event allows you to change the SummaryDisplayType value of the field.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •