Skip to main content

ASPxPivotGrid.GetCellInfo(Int32, Int32) Method

Returns an object that contains information on the specified cell.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public PivotCellBaseEventArgs GetCellInfo(
    int columnIndex,
    int rowIndex
)

Parameters

Name Type Description
columnIndex Int32

An integer value that identifies the column where the required cell resides by its zero-based index.

rowIndex Int32

An integer value that identifies the row where the required cell resides by its zero-based index within the current page.

Returns

Type Description
PivotCellBaseEventArgs

A PivotCellBaseEventArgs descendant that contains information on the specified cell.

Remarks

The PivotCellBaseEventArgs descendant returned by the GetCellInfo method specifies the type of the cell, the cell’s value, etc. It also allows you to retrieve an array of records associated with this cell. To do this, use the PivotCellEventArgsBase<TField, TData, TCustomTotal>.CreateDrillDownDataSource method.

Use the ASPxPivotGrid.ColumnCount and ASPxPivotGrid.RowCount properties, to obtain the total number of pivot grid columns and rows.

See Also