Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onFinishCellEdit($event?: Event) {
if (this.editModel !== 'cell') {
return;
}
this.ngZone.run(() => {
this.isCellEdit = false;
});
// tslint:disable-next-line:no-unused-expression
this.documentClickSubscription && this.unSubscription(this.documentClickSubscription);
// tslint:disable-next-line:no-unused-expression
this.cellEditorClickSubscription && this.unSubscription(this.cellEditorClickSubscription);
stopPropagationIfExist($event);
this.dt.onCellEditEnd({
rowIndex: this.rowIndex,
colIndex: this.colIndex,
column: this.column,
rowItem: this.rowItem,
cellComponent: this,
rowComponent: this.rowComponent
});
}
stopPropagation($event: Event) {
stopPropagationIfExist($event);
}