deleteCurrentRow

Deletes the record at the current index.

Usage

await dsMyDataObject.setCurrentIndex(2);
const deletedIndex = await dsMyDataObject.deleteCurrentRow();
if (deletedIndex !== false) {
console.log(`Deleted row ${deletedIndex}`);
}

API

deleteCurrentRow(): Promise<false | number>;

Last updated

Was this helpful?