PivotFieldReferenceCollection.Clear() Method
Removes all row or column fields from the collection.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Remarks
Use the Clear method to remove all row fields from the PivotTable.RowFields collection, or all column fields from the PivotTable.ColumnFields collection.
To remove an individual row/column field from the collection of row/column fields, use the PivotFieldReferenceCollection.Remove or PivotFieldReferenceCollection.RemoveAt method.
See Also