ASPxPivotGrid.CreateSummaryDataSource(Int32, Int32) Method
In This Article
Returns a summary data source for the specified row.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public PivotSummaryDataSource CreateSummaryDataSource(
int columnIndex,
int rowIndex
)
#Parameters
Name | Type | Description |
---|---|---|
column |
Int32 | An integer value that specifies the column index. |
row |
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 ASPx |
#Returns
Type | Description |
---|---|
Pivot |
A Pivot |
#Remarks
In the example below, the CreateSummaryDataSource method is used to create a summary data source, which is then assigned to the ASPxGridView:
PivotSummaryDataSource ds = ASPxPivotGrid1.CreateSummaryDataSource(0, 0);
ASPxGridView1.DataSource = ds;
ASPxGridView1.DataBind();
The image below shows the result:
See Also