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

PivotFieldReferenceCollection.Clear() Method

Removes all row or column fields from the collection.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Clear()

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