Skip to content

This example demonstrates how to determine the value type when you calculate custom summary values in Pivot Grid for Web Forms.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/web-forms-pivot-grid-custom-summary-values

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pivot Grid for Web Forms - How to Specify Custom Summary Values for Total, Grand Total, and Ordinary Cells

This example demonstrates how to determine the value type when you calculate custom summary values.

Pivot Grid

Files to Look at

Example Overview

Follow the steps below to create a custom summary.

  1. Create an ExpressionDataBinding object.

  2. Pass the following expression in its constructor as a parameter:

    iif(IsTotal([fieldColumnGroup]),'Grand Total',IsTotal([fieldRowGroup]),'Grand Total',IsTotal([fieldColumn]),'Total',IsTotal([fieldRow]),'Total',Sum([Data]))
    
  3. Assign the ExpressionDataBinding instance to the fieldData field's DataBinding property.

Documentation

More Examples

Pivot Grid for Web Forms - How to Aggregate Data by the Field's First Value

Does this example address your development requirements/objectives?

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

About

This example demonstrates how to determine the value type when you calculate custom summary values in Pivot Grid for Web Forms.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •