We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a4feda0 + 854b537 commit 8b663feCopy full SHA for 8b663fe
src/components/body/Body.ts
@@ -142,7 +142,7 @@ export class DataTableBody implements OnInit, OnDestroy {
142
let rowIndex = idxs.first;
143
144
let endSpliceIdx = refresh ? this.state.rowCount : idxs.last - idxs.first;
145
- this.rows.splice(0, endSpliceIdx);
+ this.rows = this.rows.slice(0, endSpliceIdx);
146
147
while (rowIndex < idxs.last && rowIndex < this.state.rowCount) {
148
let row = this.state.rows[rowIndex];
0 commit comments