From f2417ef53f17e19a228c3ac9319b4f735f46f824 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: Tue, 31 May 2022 14:01:39 +0300 Subject: [PATCH] Fixed #2562 - DataTable | column reorder is broken with hidden column --- 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 a5fd2f3e6..abb7f78ad 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -1806,7 +1806,7 @@ export default { let orderedColumns = []; for (let columnKey of this.d_columnOrder) { let column = this.findColumnByKey(cols, columnKey); - if (column) { + if (column && !this.columnProp(column, 'hidden')) { orderedColumns.push(column); } }