ASPxPivotGrid.CreateSummaryDataSource() Method
In This Article
Returns the ASPxPivotGrid’s summary data source.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public PivotSummaryDataSource CreateSummaryDataSource()
#Returns
Type | Description |
---|---|
Pivot |
A Pivot |
#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