Skip to content

This example calculates percentage based on the "Beverages" row value for each column. The Pivot Grid handles the PivotGridControl.CustomCellValue event to display a calculated percentage value in the cell that belongs to the "% of Beverages Sales" column.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-pivot-access-other-cell-value-while-calculating-the-current-cell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pivot Grid for WinForms - How to Use the Other Cell's Values in the Current Cell Value Calculation

This example calculates percentage based on the Beverages row value for each column. The Pivot Grid handles the PivotGridControl.CustomCellValue event to display a calculated percentage value in the cell that belongs to the % of Beverages Sales column. The grand total values are hidden.

screenshot

API in this example:

Files to Review

Form1.cs (VB: Form1.vb)

More Examples

Does this example address your development requirements/objectives?

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

About

This example calculates percentage based on the "Beverages" row value for each column. The Pivot Grid handles the PivotGridControl.CustomCellValue event to display a calculated percentage value in the cell that belongs to the "% of Beverages Sales" column.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •