Column Field
Column fields represent data source fields that are located in a pivot grid’s Column Header Area. An Pivot Grid control with more than one column field will have an inner column field (‘Order Quarter’ in the image below). Any other column fields are outer column fields. Values of the outermost column field (‘Order Year’ in the image below) are displayed only once, while values in the rest of the column fields can be repeated.
Fields consist of the following elements:
- a field header, which displays the field caption and enables end-users to sort and filter field values, change the field’s location via drag-and-drop, etc.;
- field values.
The table below lists the main properties that affect the field’s functionality:
Characteristics | Members |
---|---|
Field Name | |
Bound Type | |
Position | PivotGridFieldBase.Area, PivotGridFieldBase.AreaIndex For column fields, the PivotGridFieldBase.Area property is set to PivotArea.ColumnArea. |
Visibility | |
Grouping Field Values | |
Sort Order | PivotGridFieldBase.SortOrder, PivotGridFieldBase.SortBySummaryInfo |
Filter Criteria | |
Totals | PivotGridFieldBase.TotalsVisibility, PivotGridField.CustomTotals |
Column Width | The PivotGridField.Width and PivotGridField.ExportBestFit properties are in effect when the ASPxPivotGrid is exported. |