Back to Devexpress

Field Location Areas

vcl-157023-expresspivotgrid-concepts-field-location-areas.md

latest2.4 KB
Original Source

Field Location Areas

  • Sep 06, 2024
  • 2 minutes to read

Pivot grid fields can be positioned within one of four areas within the ExpressPivotGrid control: the data, column, row, and filter header areas. A user can move fields between the areas using drag-and-drop operations to fine-tune the resulting report.

The purpose of these areas is described in the following table.

AreaDescription
Data HeaderThis area contains data fields - the fields against which summaries are calculated. The summary results are displayed within the data area.
Column HeaderThis area displays column fields. The values of these fields are listed along the control’s top edge and these represent column headers.
Row HeaderThis area displays row fields. The values of these fields are listed down the control’s left edge and these represent row headers.
Filter HeaderThis area displays filter fields which allow end-users to apply filtering to the entire ExpressPivotGrid control to display data for the predefined values.

The visibility of these areas is controlled by the pivot grid’s OptionsView.DataFields, OptionsView.ColumnFields, OptionsView.RowFields and OptionsView.FilterFields options.

A field’s location is specified by its Area property. Its AreaIndex property specifies the field’s position (order) amongst the other fields that are displayed within the same area.

By default, fields can be located within all the available areas. You can use the AllowedAreas property to explicitly specify in which areas the field can be placed.