Skip to content

Commit f75e468

Browse files
authored
fix(igxHierarchicalGrid): Ensure root hierarchical grid takes only di… (#13777)
1 parent 1575c6b commit f75e468

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
ChangeDetectionStrategy,
55
ChangeDetectorRef,
66
Component,
7+
ContentChild,
78
ContentChildren,
89
CUSTOM_ELEMENTS_SCHEMA,
910
DoCheck,
@@ -63,6 +64,7 @@ import { IgxColumnMovingDropDirective } from '../moving/moving.drop.directive';
6364
import { IgxGridDragSelectDirective } from '../selection/drag-select.directive';
6465
import { IgxGridBodyDirective } from '../grid.common';
6566
import { IgxGridHeaderRowComponent } from '../headers/grid-header-row.component';
67+
import { IgxActionStripComponent } from '../../action-strip/action-strip.component';
6668

6769
let NEXT_ID = 0;
6870

@@ -405,6 +407,10 @@ export class IgxHierarchicalGridComponent extends IgxHierarchicalGridBaseDirecti
405407
*/
406408
public childRow: IgxChildGridRowComponent;
407409

410+
/** @hidden @internal */
411+
@ContentChild(IgxActionStripComponent, { read: IgxActionStripComponent, descendants: false } )
412+
public override actionStrip: IgxActionStripComponent;
413+
408414
private _data;
409415
private h_id = `igx-hierarchical-grid-${NEXT_ID++}`;
410416
private childGridTemplates: Map<any, any> = new Map();

0 commit comments

Comments
 (0)