From 705eb2be9538b85276d4427882f3b5c3032d633e 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: Thu, 21 Sep 2023 15:38:17 +0300 Subject: [PATCH] Fixed #4459 - [DataTable] Reorder feature and rowreordericon slot problem. --- components/lib/datatable/DataTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/DataTable.vue b/components/lib/datatable/DataTable.vue index ff68d7e29..b6f2ac09a 100755 --- a/components/lib/datatable/DataTable.vue +++ b/components/lib/datatable/DataTable.vue @@ -1479,7 +1479,7 @@ export default { return null; }, onRowMouseDown(event) { - if (DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowreordericon') event.currentTarget.draggable = true; + if (DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowreordericon' || DomHandler.getAttribute(event.target.parentElement, 'data-pc-section') === 'rowreordericon') event.currentTarget.draggable = true; else event.currentTarget.draggable = false; }, onRowDragStart(e) {