Skip to main content

getLength()

returns the number of all elements of a data collection

getLength(): number;

Returns:

The number of elements of a data collection.

Example

component.data.getLength();

Related sample: Data. Get Length