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.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void ExpandValue(
    bool isColumn,
    int lastLevelIndex
)

Parameters

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.

Remarks

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:

IsFieldValueCollapsed

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

See Also