getCurrentIndex
Usage
const index = dsMyDataObject.getCurrentIndex();
if (index === -1) {
console.log('Editing a new row');
} else {
console.log('Editing row', index);
}API
getCurrentIndex(): number;Last updated
Was this helpful?
const index = dsMyDataObject.getCurrentIndex();
if (index === -1) {
console.log('Editing a new row');
} else {
console.log('Editing row', index);
}getCurrentIndex(): number;Last updated
Was this helpful?
Was this helpful?