Skip to main content

ASPxPivotGrid.ExpandValue(Boolean, Int32) Method

Expands the specified column or row by its index.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v23.2.dll

NuGet Package: DevExpress.Web


public void ExpandValue(
    bool isColumn,
    int lastLevelIndex


Name Type Description
isColumn Boolean

true to expand a column; false to expand a row.

lastLevelIndex Int32

An integer value that specifies the zero-based index of the column/row to be expanded.


To expand a row, specify its absolute index via the lastLevelIndex parameter. Use the ASPxPivotGrid.GetAbsoluteRowIndex method to obtain the absolute row index by its index within the current page.

The columns and rows are indexed as shown below:


To collapse a particular column/row, use the ASPxPivotGrid.CollapseValue method.

See Also