Skip to main content

PivotGridFieldBase.ExpandAll() Method

Expands all columns/rows that correspond to the current column field or row field.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.2.Core.dll

Declaration

public void ExpandAll()

Remarks

Use the PivotGridControl.ChangeFieldExpandedAsync method to collapse or expand all values of a particular field, asynchronously. For more information about asynchronous mode, see Asynchronous Mode.

To expand a specific field value, use the PivotGridFieldBase.ExpandValue method. To collapse field values, use the PivotGridFieldBase.CollapseValue and PivotGridFieldBase.CollapseAll methods.

Field values can be collapsed and expanded by end-users, if the field’s PivotGridFieldOptions.AllowExpand property is set to true.

See Also