ASPxPivotGrid.CollapseValue(Boolean, Object[]) Method
In This Article
Collapses the specified column or row.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
is |
Boolean | true to collapse a column; false to collapse a row. |
values | Object[] | An array of field values that identifies the column/row to be collapsed. |
#Remarks
The image below shows a pivot grid control with indexed column field values:
The following table contains examples of using the CollapseValue method:
The Collapse |
The index of the collapsed field value cell |
---|---|
ASPx |
0 |
ASPx |
1 |
ASPx |
2 |
ASPx |
6 |
ASPx |
7 |
Row field values are identified in the same manner as column field values.
To expand a particular column/row, use the ASPxPivotGrid.ExpandValue method.
See Also