From 66ef0a5686a5b1fe6774e2a2528c12e905241a16 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 17 May 2021 17:43:23 +0300 Subject: [PATCH] Fixed #1247 - --- src/components/datatable/DataTable.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index 1212f448d6..a94830764d 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -388,7 +388,7 @@ export default { } }, mounted() { - if (this.scrollable && this.scrollDirection !== 'vertical') { + if (this.scrollable && (this.scrollDirection !== 'vertical' || this.rowGroupMode === 'subheader')) { this.updateScrollWidth(); } @@ -409,7 +409,7 @@ export default { this.saveState(); } - if (this.scrollable && this.scrollDirection !== 'vertical') { + if (this.scrollable && (this.scrollDirection !== 'vertical' || this.rowGroupMode === 'subheader')) { this.updateScrollWidth(); } },