Skip to content

Commit 03e7b35

Browse files
committed
fix(grid): change parentRowOutlet to return outletDirective #4728
1 parent e0228c9 commit 03e7b35

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2030,7 +2030,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
20302030
* @hidden
20312031
*/
20322032
public get parentRowOutletDirective() {
2033-
return null;
2033+
return this.outletDirective;
20342034
}
20352035

20362036
/**

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -446,13 +446,6 @@ export class IgxHierarchicalGridComponent extends IgxHierarchicalGridBaseDirecti
446446
return this.rootGrid._outletDirective;
447447
}
448448

449-
/**
450-
* @hidden
451-
*/
452-
public get parentRowOutletDirective() {
453-
return this === this.rootGrid ? null : this.rootGrid.rowEditingOutletDirective;
454-
}
455-
456449
/**
457450
* @hidden
458451
*/

0 commit comments

Comments
 (0)