Fixed #1562 - DataTable with selectionMode 'multiple' select with shift

pull/1751/head
Tuğçe Küçükoğlu 2021-11-08 10:24:15 +03:00
parent 08c2f21963
commit 26be2ac728
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ export default {
if (this.selectionMode) { if (this.selectionMode) {
const rowData = e.data; const rowData = e.data;
const rowIndex = e.index; const rowIndex = this.d_first + e.index;
if (this.isMultipleSelectionMode() && event.shiftKey && this.anchorRowIndex != null) { if (this.isMultipleSelectionMode() && event.shiftKey && this.anchorRowIndex != null) {
DomHandler.clearSelection(); DomHandler.clearSelection();