Skip to content

Commit 16ba3ac

Browse files
committed
fix(addRow): Make add row use cell template if provided
1 parent c6e22df commit 16ba3ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/igniteui-angular/src/lib/grids/cell.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@ export class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy {
191191
const inlineEditorTemplate = this.column.inlineEditorTemplate;
192192
return inlineEditorTemplate ? inlineEditorTemplate : this.inlineEditorTemplate;
193193
}
194-
if (this.grid.rowEditable && this.row.addRow) {
195-
return this.addRowCellTemplate;
196-
}
197194
if (this.cellTemplate) {
198195
return this.cellTemplate;
199196
}
197+
if (this.grid.rowEditable && this.row.addRow) {
198+
return this.addRowCellTemplate;
199+
}
200200
return this.defaultCellTemplate;
201201
}
202202

0 commit comments

Comments
 (0)