Fixed #3685 - DataTable: row group header colspan doesn't span full row when table has selection column
parent
9fcfeb1029
commit
9b326cbb19
|
@ -511,6 +511,7 @@ export default {
|
||||||
let hiddenColLength = 0;
|
let hiddenColLength = 0;
|
||||||
this.columns.forEach(column => {
|
this.columns.forEach(column => {
|
||||||
if(this.columnProp(column, 'hidden')) hiddenColLength++;
|
if(this.columnProp(column, 'hidden')) hiddenColLength++;
|
||||||
|
if (this.columnProp(column, 'selectionMode') === 'single'|| this.columnProp(column, 'selectionMode') === 'multiple') hiddenColLength--;
|
||||||
});
|
});
|
||||||
return this.columns ? this.columns.length - hiddenColLength : 0;
|
return this.columns ? this.columns.length - hiddenColLength : 0;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue