Skip to content

Commit b74f998

Browse files
fix(row-island): attach paginator only when explicitly added (#16248)
1 parent 2d9e881 commit b74f998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ export class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirective
137137
@ContentChildren(IgxColumnComponent, { read: IgxColumnComponent, descendants: false })
138138
public childColumns = new QueryList<IgxColumnComponent>();
139139

140-
@ContentChild(IgxGridToolbarDirective, { read: TemplateRef })
140+
@ContentChild(IgxGridToolbarDirective, { read: TemplateRef, descendants: false })
141141
protected toolbarDirectiveTemplate: TemplateRef<IgxGridToolbarTemplateContext>;
142142

143-
@ContentChild(IgxPaginatorDirective, { read: TemplateRef })
143+
@ContentChild(IgxPaginatorDirective, { read: TemplateRef, descendants: false })
144144
protected paginatorDirectiveTemplate: TemplateRef<any>;
145145

146146
/* csSuppress */

0 commit comments

Comments
 (0)