PivotGridControl.RetrieveFields() Method
In This Article
Creates PivotGridField objects for all fields in a data source.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
#Declaration
#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 Creating Fields and Binding Them to Data Fields.
To create fields asynchronously, use the PivotGridControl.RetrieveFieldsAsync method.
See Also