Skip to content

Commit 35c5258

Browse files
fix(row-island): attach paginator only when explicitly added (#16249)
1 parent 5de9867 commit 35c5258

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
@@ -139,10 +139,10 @@ export class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirective
139139
@ContentChildren(IgxColumnComponent, { read: IgxColumnComponent, descendants: false })
140140
public childColumns = new QueryList<IgxColumnComponent>();
141141

142-
@ContentChild(IgxGridToolbarDirective, { read: TemplateRef })
142+
@ContentChild(IgxGridToolbarDirective, { read: TemplateRef, descendants: false })
143143
protected toolbarDirectiveTemplate: TemplateRef<IgxGridToolbarTemplateContext>;
144144

145-
@ContentChild(IgxPaginatorDirective, { read: TemplateRef })
145+
@ContentChild(IgxPaginatorDirective, { read: TemplateRef, descendants: false })
146146
protected paginatorDirectiveTemplate: TemplateRef<any>;
147147

148148
/* csSuppress */

0 commit comments

Comments
 (0)