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

ASPxPivotGrid.ExpandValue(Boolean, Int32) Method

Expands the specified column or row by its index.

Namespace: DevExpress.Web.ASPxPivotGrid

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

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