Skip to main content
A newer version of this page is available. .

PivotGridControl.ExpandAllRows() Method

Expands all rows.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v19.1.dll

Declaration

public void ExpandAllRows()

Remarks

This method expands all rows that correspond to Row Fields. To expand all rows that correspond to a specific Row Field, use the PivotGridFieldBase.ExpandAll method. The PivotGridFieldBase.ExpandValue method expands individual rows.

To expand all rows asynchronously, use the PivotGridControl.ExpandAllRowsAsync method.

To collapse all rows, use the PivotGridControl.CollapseAllRowsAsync (asynchronous) or PivotGridControl.CollapseAllRows (synchronous) method.

To expand or collapse all columns asynchronously, use the PivotGridControl.ExpandAllColumnsAsync and PivotGridControl.CollapseAllColumnsAsync methods, respectively (or the PivotGridControl.ExpandAllColumns and PivotGridControl.CollapseAllColumns methods to do this synchronously).

See Also