From f06c2ea23ae2a8b8636fde111b44a04fe5ab4b94 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 20 Dec 2023 11:29:06 +0000 Subject: [PATCH] Fixed #4950 - Datatable: Column resize expand mode and Stateful loses scroll --- components/lib/datatable/DataTable.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/components/lib/datatable/DataTable.vue b/components/lib/datatable/DataTable.vue index c74b1a4bf6..8a893562a4 100755 --- a/components/lib/datatable/DataTable.vue +++ b/components/lib/datatable/DataTable.vue @@ -1780,7 +1780,6 @@ export default { if (this.columnResizeMode === 'expand' && this.tableWidthState) { this.$refs.table.style.width = this.tableWidthState; this.$refs.table.style.minWidth = this.tableWidthState; - this.$el.style.width = this.tableWidthState; } if (ObjectUtils.isNotEmpty(widths)) {