PP.Mb.Ui.GridView.IsAsync

Syntax

IsAsync: Boolean

Description

The IsAsync property determines whether table data asynchronous loading is used.

Comments

Use JSON or the setIsAsync method to set the property value, and the getIsAsync method to get the property value.

If this property is set to True (default), table data is loaded asynchronously. If the property is set to False, data is loaded synchronously.

Use synchronous loading if it is required that all table data is loaded immediately on opening a report.

Example

To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component) and with the loaded table in the express report workspace. Set synchronous data loading:

grid = expressBox.getDataView().getGridView();
grid.setIsAsync(false);

After executing the example synchronous data loading is set for an express report table.

See also:

PP.Mb.Ui.GridView