This method clears the field collection and adds new XRPivotGridField objects to the collection for all the fields in the control's bound data source. The XRPivotGridField.FieldName property of each field created is set to the respective bound field's name. The created fields are made visible and displayed within the Filter Header Area.
Use the XRPivotGrid.Fields property to access the field collection. It allows fields to be added and removed. For instance, you can add an unbound field to the collection which will represent arbitrary data within the XRPivotGrid control. For more information on unbound fields, refer to the PivotGridFieldBase.UnboundType topic in the XtraPivotGrid documentation.