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

PivotGridField Class

Represents a field within the ASPxPivotGrid control.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v17.2.dll

Declaration

public class PivotGridField :
    PivotGridFieldBase,
    IWebControlObject,
    IDataSourceViewSchemaAccessor,
    IDisplayNameProvider,
    IFilterColumn,
    IFilterablePropertyInfo,
    IDesignTimeCollectionItem

Remarks

A field can be displayed within one of four areas: Column Header Area, Row Header Area, Data Header Area or Filter Header Area. Fields located within these areas are called column fields, row fields, data fields and filter fields, respectively. The area where a field is displayed and the field’s position within the area are specified by the PivotGridFieldBase.Area and PivotGridFieldBase.AreaIndex properties.

The ASPxPivotGrid control supports bound and unbound fields. Bound fields get their data from a specific field in the control’s underlying data source. This field is specified by the PivotGridField.FieldName property. Data for unbound fields should be supplied manually - via the ASPxPivotGrid.CustomUnboundFieldData event.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PivotGridField class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also