Skip to content

Commit

Permalink
fix(table): Fixes an issue with cell access.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomheller committed Jan 29, 2024
1 parent 358aba0 commit 2e52159
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export abstract class DtSimpleColumnBase<T>

ngOnInit(): void {
this._syncColumnDefName();
if (this.table) {
if (this.table && this._columnDef) {
this._columnDef.cell = this._cellDef;
this._columnDef.headerCell = this._headerDef;
this.table.addColumnDef(this._columnDef);
Expand Down

0 comments on commit 2e52159

Please sign in to comment.