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

ASPxPivotGrid.CreateSummaryDataSource() Method

Returns the ASPxPivotGrid’s summary data source.

Namespace: DevExpress.Web.ASPxPivotGrid

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

Declaration

public PivotSummaryDataSource CreateSummaryDataSource()

Returns

Type Description
PivotSummaryDataSource

A PivotSummaryDataSource object that represents the summary data source.

Remarks

A summary data source is a table whose columns are represented by the fields, while the records are represented by the pivot grid rows.

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();
ASPxGridView1.DataSource = ds;
ASPxGridView1.DataBind();

The image below shows the result:

CreateSummaryDSfull

See Also