Skip to main content

isDataLoaded()

pro version only

The method works with the Dynamic loading functionality which is available in the PRO edition only.

checks whether the specified data range is loaded from the server

isDataLoaded(from?: number, to?: number): boolean;

Parameters:

  • from?: number - optional, the index of the first element of the data range to be checked
  • to?: number - optional, the index of the last element of the data range to be checked

Returns:

true, if a range of data is loaded; otherwise, false.

Example

component.data.isDataLoaded();

Change log:

added in v6.4