diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 2ede18e55d5..b883d69d3b7 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -4063,8 +4063,8 @@ export class EditableColumn implements OnChanges, AfterViewInit, OnDestroy { constructor(public dt: Table, public el: ElementRef, public zone: NgZone) {} - public ngOnChanges({ data }: SimpleChanges): void { - if (this.el.nativeElement && !data.firstChange) { + public ngOnChanges(changes: SimpleChanges): void { + if (this.el.nativeElement && (!changes.data?.firstChange)) { this.dt.updateEditingCell(this.el.nativeElement, this.data, this.field, this.rowIndex); } }