Skip to main content

ASPxPivotGrid.LockDataRefreshOnCustomCallback Property

Gets or sets whether refreshing pivot grid data is locked while handling the ASPxPivotGrid.CustomCallback event.

Namespace: DevExpress.Web.ASPxPivotGrid

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

NuGet Package: DevExpress.Web

Declaration

public static bool LockDataRefreshOnCustomCallback { get; set; }

Property Value

Type Description
Boolean

true to prevent pivot grid data from being refreshed while handling the ASPxPivotGrid.CustomCallback event; otherwise, false.

Remarks

If the static LockDataRefreshOnCustomCallback property is set to true, all changes made to pivot grid data in the ASPxPivotGrid.CustomCallback event handlers are applied after the event is raised. Otherwise, changes are applied immediately, but the performance may slow, in the case of multiple data updates.

The control’s PivotGridWebOptionsData.LockDataRefreshOnCustomCallback property setting takes priority over the static LockDataRefreshOnCustomCallback property. The LockDataRefreshOnCustomCallback property is in effect if the PivotGridWebOptionsData.LockDataRefreshOnCustomCallback is set to DefaultBoolean.Default.

See Also