We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 154892f commit 2e83004Copy full SHA for 2e83004
projects/igniteui-angular/src/lib/grids/grid/groupby-row.component.ts
@@ -278,8 +278,8 @@ export class IgxGridGroupByRowComponent implements OnDestroy {
278
* @hidden @internal
279
*/
280
public get selectedRowsInTheGroup(): any[] {
281
- const selectedIds = this.gridSelection.filteredSelectedRowIds;
282
- return this.groupRow.records.filter(rowID => selectedIds.indexOf(this.getRowID(rowID)) > -1);
+ const selectedIds = new Set(this.gridSelection.filteredSelectedRowIds);
+ return this.groupRow.records.filter(rowID => selectedIds.has(this.getRowID(rowID)));
283
}
284
285
/**
0 commit comments