XRPivotGrid.CollapseAll() Method

Collapses all the columns and rows in the pivot grid.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

Declaration

public void CollapseAll()

Remarks

The CollapseAll method collapses all columns and rows which are currently expanded. If only rows or columns need to be collapsed, call the XRPivotGrid.CollapseAllRows or XRPivotGrid.CollapseAllColumns method, respectively.

To collapse a particular field value, use the field’s PivotGridFieldBase.CollapseValue method. To collapse all the values of a particular field, use its PivotGridFieldBase.CollapseAll method.

See Also