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.v24.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LockDataRefreshOnCustomCallback property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also