From 26be2ac7281601abef2afd699f858b2345610966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Mon, 8 Nov 2021 10:24:15 +0300 Subject: [PATCH] Fixed #1562 - DataTable with selectionMode 'multiple' select with shift --- src/components/datatable/DataTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index d5c823fba..0d6b524cd 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -687,7 +687,7 @@ export default { if (this.selectionMode) { const rowData = e.data; - const rowIndex = e.index; + const rowIndex = this.d_first + e.index; if (this.isMultipleSelectionMode() && event.shiftKey && this.anchorRowIndex != null) { DomHandler.clearSelection();