Skip to content

Commit b366add

Browse files
committed
fix(grid): change parentRowOutlet to return outletDirective #4728
1 parent 17b6309 commit b366add

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
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 null;
1849+
return this.outletDirective;
18501850
}
18511851

18521852
/**

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -399,14 +399,6 @@ 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-
410402
/**
411403
* @hidden
412404
*/

0 commit comments

Comments
 (0)