GridView.AutoUpdateObjects

Syntax

AutoUpdateObjects: Boolean

Description

The AutoUpdateObjects property determines whether visual objects are automatically updated when selection changes.

Comments

By default the property is set to true, visual objects are updated when selection is changed in a regular report.

The property value can be set using constructor or the setAutoUpdateObjects method, the value is returned with the getAutoUpdateObjects method.

Example

To execute the example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). Add data with visual object in the regular report. Disable automatic object update when selection is changed:

var moduleObject = PP.App.getModuleObject();
moduleObject.getReportBox().getDataView().getGridView().setAutoUpdateObjects(false);

After executing the example the visual object is not updated when selection is changed.

See also:

GridView