Skip to main content
Row

PivotDataFieldCollection.Clear() Method

Removes all data fields from the collection.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

void Clear()

Remarks

To remove an individual data field from the collection, use the PivotDataFieldCollection.Remove or PivotDataFieldCollection.RemoveAt methods.

To add a data field to the PivotTable report, use the PivotDataFieldCollection.Add method overloads.

See Also