Fixed #1443 - Unnecessary horizontal scrollbar displayed with rowgrouping

pull/1453/head
Cagatay Civici 2021-08-11 14:00:31 +03:00
parent 741e03847f
commit 33a93d8c08
1 changed files with 1 additions and 1 deletions

View File

@ -1618,7 +1618,7 @@ export default {
this.d_columnOrder = columnOrder;
},
updateScrollWidth() {
this.$refs.table.style.width = this.$refs.table.scrollWidth + 'px';
this.$refs.table.style.width = DomHandler.width(this.$refs.table.parentElement) - DomHandler.calculateScrollbarWidth() + 'px';
},
createResponsiveStyle() {
if (!this.styleElement) {