| sidebar_label | getLength() |
|---|---|
| title | JavaScript DataCollection - getLength Method |
| description | You can explore the getLength 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. |
@short: returns the number of all elements of a data collection
@signature: {'getLength(): number;'}
@returns: The number of elements of a data collection.
@example: const dataLength = component.data.getLength();
@descr:
Related sample: Data. Get length