- 2 minutes to read
For numeric data fields, the following summary functions can be calculated: Sum, Count, Min, Max, Average, Standard Deviation based upon a sample, Standard Deviation based upon an entire population, Variation based upon a sample and Variation based upon an entire population.
For non-numeric data fields, the following summary functions are available: Count, Min and Max.
The following image shows a PivotGrid, which contains one data field - "Quantity(Sum)":
When there are two or more data fields, the pivot grid displays data field headers to distinguish between different summary values.
By default, data field headers are listed along the control's top. It is possible to display data field headers along the control's left 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 field functionality.
Position of Data Field Headers
Caption of the Data Header