.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

PivotDataFieldCollection.Clear() Method

Removes all data fields from the collection.

Namespace: DevExpress.Spreadsheet

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

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