Skip to main content
A newer version of this page is available. .

Column Field

Column fields represent data source fields that are located in a Pivot Grid Control’s column header area. A PivotGridControl that has 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 field 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.

 

veColumnField

 

The table below lists the main properties that affect the field’s functionality:

Field Name

PivotGridFieldBase.FieldName

Bound Type

PivotGridFieldBase.UnboundType

Position

PivotGridFieldBase.Area, PivotGridFieldBase.AreaIndex

For column fields, the PivotGridFieldBase.Area property is set to PivotArea.ColumnArea.

Visibility

PivotGridFieldBase.Visible

Column Width

PivotGridFieldBase.Width

PivotGridFieldBase.MinWidth

The PivotGridControl.FieldWidthChanged event provides a notification that the field width has been changed.

Grouping Field Values

PivotGridFieldBase.GroupInterval

Linking with Other Fields

PivotGridControl.Groups

Sort Order

PivotGridFieldBase.SortOrder, PivotGridFieldBase.SortBySummaryInfo

Filter Criteria

PivotGridFieldBase.FilterValues

Totals

PivotGridFieldBase.TotalsVisibility, PivotGridField.CustomTotals

See Also