DxPivotGridListEditor.PivotGridModel Property
Exposes members of the underlying DxPivotTable class.
Namespace: DevExpress.ExpressApp.Blazor.Editors
Assembly: DevExpress.ExpressApp.Blazor.v26.1.dll
Declaration
Property Value
| Type | Description |
|---|---|
| DevExpress.ExpressApp.Blazor.Editors.Models.DxPivotTableModel | An object that you can use to access DxPivotTable settings. |
Remarks
Use the PivotGridModel property to access Pivot Grid component properties.
The following code sample shows a controller in the Blazor project that enables Grand Totals in the Pivot Grid:
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Blazor.Editors;
public class PivotGridController : ViewController<ListView> {
protected override void OnViewControlsCreated() {
base.OnViewControlsCreated();
if (View.Editor is DxPivotGridListEditor pivotListEditor) {
pivotListEditor.PivotGridModel.ShowRowGrandTotals = true;
}
}
}
For more information about Component Models, refer to the following topic: Underlying Controls and Components Behind UI Elements (ASP.NET Core Blazor).
See Also