Skip to content

Commit 13f2c8c

Browse files
committed
fix(grid): update extractDataFromSelection method
1 parent 672ae89 commit 13f2c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-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
@@ -6942,7 +6942,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
69426942

69436943
// eslint-disable-next-line prefer-const
69446944
for (let [row, set] of selectionMap) {
6945-
row = this.paginator ? row + (this.paginator.perPage * this.paginator.page) : row;
6945+
row = this.paginator && source === this.filteredSortedData ? row + (this.paginator.perPage * this.paginator.page) : row;
69466946
row = isRemote ? row - this.virtualizationState.startIndex : row;
69476947
if (!source[row] || source[row].detailsData !== undefined) {
69486948
continue;

0 commit comments

Comments
 (0)