Fixed #1355 - DataTable row group and resizable column not working together

pull/1361/head
Tuğçe Küçükoğlu 2021-06-18 16:41:15 +03:00
parent 217a5701d2
commit 10f47c6ff9
1 changed files with 7 additions and 5 deletions

View File

@ -1095,6 +1095,7 @@ export default {
for (let child of children) { for (let child of children) {
for (let row of child.children) { for (let row of child.children) {
let resizeCell = row.children[colIndex]; let resizeCell = row.children[colIndex];
if (resizeCell) {
resizeCell.style.flex = '0 0 ' + newColumnWidth + 'px'; resizeCell.style.flex = '0 0 ' + newColumnWidth + 'px';
if (this.columnResizeMode === 'fit') { if (this.columnResizeMode === 'fit') {
@ -1105,6 +1106,7 @@ export default {
} }
} }
} }
}
}, },
bindColumnResizeEvents() { bindColumnResizeEvents() {
if (!this.documentColumnResizeListener) { if (!this.documentColumnResizeListener) {