From 5243d5ba00bbdc690124fcf9cbf310167f8e95aa 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, 12 Aug 2021 14:31:02 +0300 Subject: [PATCH] Fixed #1311 - DataTable State: columnwidths are not restored correctly when using scrollable and resizableColumns props --- 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 2524471a5..718742daa 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -395,7 +395,7 @@ export default { } }, mounted() { - if (this.scrollable && (this.scrollDirection !== 'vertical' || this.rowGroupMode === 'subheader')) { + if (this.scrollable && (this.scrollDirection !== 'vertical' || this.rowGroupMode === 'subheader' || !this.resizableColumns)) { this.updateScrollWidth(); }