Skip to content

Commit a6ff963

Browse files
authored
Merge pull request #6372 from IgniteUI/nalipiev/revert-hgrid-fix
fix(grid): revert change parentRowOutlet to return outletDirective #4728
2 parents 7bf4698 + 9915ce1 commit a6ff963

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,7 @@ export abstract class IgxGridBaseComponent extends DisplayDensityBase implements
18461846
* @hidden
18471847
*/
18481848
public get parentRowOutletDirective() {
1849-
return this.outletDirective;
1849+
return null;
18501850
}
18511851

18521852
/**

projects/igniteui-angular/src/lib/grids/hierarchical-grid/hierarchical-grid.component.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,14 @@ export class IgxHierarchicalGridComponent extends IgxHierarchicalGridBaseCompone
399399
public get outletDirective() {
400400
return this.rootGrid._outletDirective;
401401
}
402+
403+
/**
404+
* @hidden
405+
*/
406+
public get parentRowOutletDirective() {
407+
return this === this.rootGrid ? null : this.rootGrid.rowEditingOutletDirective;
408+
}
409+
402410
/**
403411
* @hidden
404412
*/

0 commit comments

Comments
 (0)