getDataLength

Returns the number of records currently held by the data object.

Usage

if (dsMyDataObject.getDataLength() === 0) {
console.log('No records found');
}

API

getDataLength(): number;

Last updated

Was this helpful?