Back to Devexpress

PivotGridControl.DisableBatchUpdate Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-56519fda.md

latest2.1 KB
Original Source

PivotGridControl.DisableBatchUpdate Property

Specifies whether to update the PivotGridControl in a single batch during the data source synchronization. This is a compatibility and dependency property.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public bool? DisableBatchUpdate { get; set; }
vb
Public Property DisableBatchUpdate As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

true to restore the legacy (slower) behavior; otherwise, false.

|

Remarks

In v22.1, we changed the PivotGridControl update mechanism to improve performance when fetching data from a view model. The PivotGridControl content is now only updated once the fetching operation is finished.

You can set the DisableBatchUpdate property or the application-wide CompatibilitySettings.PivotGridDisableBatchUpdate property to true to restore the legacy behavior.

Known Issues

The PivotGridField.AreaIndex property values may differ from the legacy mechanism when adding fields synchronously (without the BeginDataUpdate / EndDataUpdate methods).

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace