Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Collapse]Pivot Grid
   [Expand]Getting Started
   [Expand]Fundamentals
   [Expand]Binding to Data
   [Expand]Data Shaping
   [Expand]Data Analysis
   [Expand]Data Formatting
   [Expand]Layout
   [Expand]Appearance
   [Expand]Data Export
   [Expand]Design-Time Features
   [Collapse]UI Elements
     Cell
     Column Field
     Column Header Area
     Data Area
     Data Field
     Data Header Area
     Expand Button
     Field Value
     Filter Button
     Filter Button Panel
     Filter Editor
     Filter Field
     Filter Header Area
     Filter Window
     Grand Totals
     Pager
     Prefilter Panel
     Row Field
     Row Header Area
     Totals
   [Expand]Examples
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Field

Data fields represent fields located in a pivot grid's Data Header Area. The Pivot Grid calculates summaries against data fields. Summary results are displayed within the Data Area.

For numeric data fields, the following summary functions can be calculated: Sum, Count, Min, Max, Average, Standard Deviation based on a sample, Standard Deviation based on an entire population, Variation based on a sample and Variation based on an entire population.

For non-numeric data fields, the following summary functions are available: Count, Min and Max.

 

The following image shows an ASPxPivotGrid control that contains one data field - "Quantity(Sum)":

 

When there are two or more data fields, the ASPxPivotGrid displays data field headers to distinguish between different summary values.

By default, data field headers are listed along the top of the control. It is possible to display data field headers along the left side of the control by setting the PivotGridOptionsDataField.Area property to PivotDataArea.RowArea. The PivotGridOptionsDataField.AreaIndex property specifies the position of the data field headers within the hierarchy of field values.

Setting the PivotGridOptionsDataField.Area property to PivotDataArea.ColumnArea or PivotDataArea.RowArea enables the data header. This header is linked with data field headers. It can be dragged to a specific position within a column header area or row header area, and data field headers will be moved to the associated location.

 

The table below lists the main properties that affect the field's functionality.

Characteristics Members
Field Name PivotGridField.FieldName
Bound Type PivotGridFieldBase.UnboundType
Summary Type PivotGridFieldBase.SummaryType
Position PivotGridFieldBase.Area, PivotGridFieldBase.AreaIndex

For data fields, the PivotGridFieldBase.Area property is set to PivotArea.DataArea.

Position of Data Field Headers PivotGridOptionsDataField.Area, PivotGridOptionsDataField.AreaIndex
Caption of the Data Header PivotGridOptionsDataField.Caption
Visibility PivotGridFieldBase.Visible
Column Width The PivotGridField.Width and PivotGridField.ExportBestFit properties are in effect when the ASPxPivotGrid is exported.

Expanded See Also

How would you rate this topic?​​​​​​​