Skip to content

Commit e002c2d

Browse files
committed
fix(IgxGrid): copied data should be correct when there is paging enabled #7801
1 parent d73d11e commit e002c2d

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
@@ -5477,6 +5477,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
54775477
}
54785478

54795479
for (let [row, set] of selectionMap) {
5480+
row = this.paging ? row + (this.perPage * this.page) : row;
54805481
row = isRemote ? row - this.virtualizationState.startIndex : row;
54815482
if (!source[row] || source[row].detailsData !== undefined) {
54825483
continue;

0 commit comments

Comments
 (0)