Skip to main content
A newer version of this page is available. .

ASPxPivotGrid.EnableRowsCache Property

Gets or sets whether data caching is enabled.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v18.2.dll

Declaration

[DefaultValue(true)]
public bool EnableRowsCache { get; set; }

Property Value

Type Default Description
Boolean **true**

true to enable data caching; otherwise, false.

Remarks

By default, the ASPxPivotGrid stores data in memory for quick access. This avoids repeated database calls when performing various operations that don’t require reloading data (e.g. rearranging or hiding columns). As a result, this increases the Web application scalability.

To disable data caching, set the EnableRowsCache option to false. This can be useful, for instance, when the ASPxPivotGrid displays real-time data. It’s also recommended that you disable this option when binding to data created at runtime, because calling the DataBind() method always reloads data from the server.

See Also