Skip to content

Commit 460332f

Browse files
committed
fix(IgxGrid): copied data should be correct when there is paging enabled #7801
1 parent 9bebb0f commit 460332f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5480,6 +5480,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
54805480
}
54815481

54825482
for (let [row, set] of selectionMap) {
5483+
row = this.paging ? row + (this.perPage * this.page) : row;
54835484
row = isRemote ? row - this.virtualizationState.startIndex : row;
54845485
if (!source[row] || source[row].detailsData !== undefined) {
54855486
continue;

0 commit comments

Comments
 (0)