| sidebar_label | isDataLoaded() |
|---|---|
| title | JavaScript DataCollection - isDataLoaded Method |
| description | You can explore the isDataLoaded method of DataCollection in the documentation of the DHTMLX JavaScript UI library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX Suite. |
:::tip pro version only The method works with the Dynamic loading functionality which is available in the PRO edition only. :::
@short: checks whether the specified data range is loaded from the server
@signature: {'isDataLoaded(from?: number, to?: number): boolean;'}
@params:
from?: number- optional, the index of the first element of the data range to be checkedto?: 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();
@descr:
@changelog: added in v6.4