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

MVCxPivotGridField Class

A field within the PivotGrid.

Namespace: DevExpress.Web.Mvc

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

Declaration

public class MVCxPivotGridField :
    PivotGridField

The following members accept/return MVCxPivotGridField objects:

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 PivotGrid extension 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 PivotGridSettings.CustomUnboundFieldData event.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MVCxPivotGridField 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