ASPxPivotGrid.CreateSummaryDataSource() Method
Returns the ASPxPivotGrid’s summary data source.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
Declaration
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:
See Also