Row Field
Row fields represent data source fields that are located in a pivot grid’s Row Header Area. A Pivot Grid with more than one row field will have an inner row field (‘Category Name’ in the image below). Any other row fields are outer row fields. Values of the outermost row field (‘Order Quarter’ in the image below) are displayed only once, while values in the rest of the row 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 field functionality.
Characteristics | Members |
---|---|
Field Name | PivotGridField.FieldName (via MVCxPivotGridField.FieldName) |
Bound Type | PivotGridFieldBase.UnboundType (via MVCxPivotGridField.UnboundType) |
Position | PivotGridFieldBase.Area (via MVCxPivotGridField.Area) PivotGridFieldBase.AreaIndex (via MVCxPivotGridField.AreaIndex) For row fields, the PivotGridFieldBase.Area property is set to PivotArea.RowArea. |
Visibility | PivotGridFieldBase.Visible (via MVCxPivotGridField.Visible) |
Grouping Field Values | PivotGridFieldBase.GroupInterval (via MVCxPivotGridField.GroupInterval) |
Sort Order | PivotGridFieldBase.SortOrder (via MVCxPivotGridField.SortOrder) PivotGridFieldBase.SortBySummaryInfo (via MVCxPivotGridField.SortBySummaryInfo) |
Filter Criteria | PivotGridFieldBase.FilterValues (via MVCxPivotGridField.FilterValues) |
Totals | PivotGridFieldBase.TotalsVisibility (via MVCxPivotGridField.TotalsVisibility) PivotGridField.CustomTotals (via MVCxPivotGridField.CustomTotals) |