Skip to main content

PivotGridExtension.CreateOLAPSummaryDataSource(PivotGridSettings, String, Int32, Int32) Method

In OLAP, returns a summary data source for the specified row.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static PivotSummaryDataSource CreateOLAPSummaryDataSource(
    PivotGridSettings pivotGridSettings,
    string connectionString,
    int columnIndex,
    int rowIndex
)

Parameters

Name Type Description
pivotGridSettings PivotGridSettings

A PivotGridSettings object that contains PivotGrid extension settings.

connectionString String

A System.String that specifies the connection string to an OLAP cube.

columnIndex Int32

An integer value that specifies the column index.

rowIndex Int32

An integer value that specifies the absolute row index. To obtain the absolute row index by its index within the current page, use the ASPxPivotGrid.GetAbsoluteRowIndex method.

Returns

Type Description
PivotSummaryDataSource

A PivotSummaryDataSource object that represents the summary data source.

See Also