Skip to main content

PivotGridWebOptionsData.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.v22.1.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean LockDataRefreshOnCustomCallback { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean enumeration member that specifies whether to prevent pivot grid data from being refreshed while handling the ASPxPivotGrid.CustomCallback event.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to LockDataRefreshOnCustomCallback
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsData.LockDataRefreshOnCustomCallback
PivotGridSettings
.OptionsData.LockDataRefreshOnCustomCallback
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsData.LockDataRefreshOnCustomCallback

Remarks

If the LockDataRefreshOnCustomCallback property is set to DefaultBoolean.True, all changes made to pivot grid data in the ASPxPivotGrid.CustomCallback event handlers are applied after the event is raised. If this property is set to DefaultBoolean.False, changes are applied immediately, but the performance may slow, in the case of multiple data updates. If it is set to DefaultBoolean.Default, the static ASPxPivotGrid.LockDataRefreshOnCustomCallback property is in effect.

See Also