Skip to content

Commit 885dde7

Browse files
authored
Merge pull request #8378 from IgniteUI/mdragnev/fix-8373
Make add row use cell template if provided
2 parents 6d66d25 + d2f5b43 commit 885dde7

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)