Fixed #1311 - DataTable State: columnwidths are not restored correctly when using scrollable and resizableColumns props

pull/1453/head
Tuğçe Küçükoğlu 2021-08-12 14:31:02 +03:00
parent de8b8fc8d9
commit 5243d5ba00
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}