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

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

32 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

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

  •  
  •  
  •  
  •