Skip to content

Commit 9f8460a

Browse files
authored
Merge pull request #6376 from IgniteUI/nalipiev/revert-hgrid-fix-master
fix(grid): revert change parentRowOutlet to return outletDirective #4728
2 parents a8e676f + 0900769 commit 9f8460a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
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 this.outletDirective;
2033+
return null;
20342034
}
20352035

20362036
/**

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,13 @@ export class IgxHierarchicalGridComponent extends IgxHierarchicalGridBaseDirecti
398398
return this.rootGrid._outletDirective;
399399
}
400400

401+
/**
402+
* @hidden
403+
*/
404+
public get parentRowOutletDirective() {
405+
return this === this.rootGrid ? null : this.rootGrid.rowEditingOutletDirective;
406+
}
407+
401408
/**
402409
* @hidden
403410
*/

0 commit comments

Comments
 (0)