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

PivotGridControl.RetrieveFields() Method

Creates PivotGridField objects for all fields in a data source.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v19.1.dll

Declaration

public void RetrieveFields()

Remarks

The RetrieveFields method clears the PivotGridControl.Fields collection and adds new PivotGridField objects for all fields in a data source. The PivotGridField.FieldName property of each field is set to the name of the corresponding data source field. The created fields are made visible and displayed within the Filter Header Area.

To learn more, see Fields.

To create fields asynchronously, use the PivotGridControl.RetrieveFieldsAsync method.

See Also