Skip to content

Commit

Permalink
Fixed #1247 -
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed May 17, 2021
1 parent a6b8e83 commit 66ef0a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/datatable/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export default {
}
},
mounted() {
if (this.scrollable && this.scrollDirection !== 'vertical') {
if (this.scrollable && (this.scrollDirection !== 'vertical' || this.rowGroupMode === 'subheader')) {
this.updateScrollWidth();
}
Expand All @@ -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();
}
},
Expand Down

0 comments on commit 66ef0a5

Please sign in to comment.