Merge pull request #2311 from tugcekucukoglu/colspan
Fixed #2310 - Colspan defect with hidden Columnspull/2313/head
commit
49c8744686
|
@ -505,7 +505,13 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
columnsLength() {
|
columnsLength() {
|
||||||
return this.columns ? this.columns.length : 0;
|
let hiddenColLength = 0;
|
||||||
|
|
||||||
|
this.columns.forEach(column => {
|
||||||
|
if(this.columnProp(column, 'hidden')) hiddenColLength++;
|
||||||
|
});
|
||||||
|
|
||||||
|
return this.columns ? this.columns.length - hiddenColLength : 0;
|
||||||
},
|
},
|
||||||
rowGroupHeaderStyle() {
|
rowGroupHeaderStyle() {
|
||||||
if (this.scrollable) {
|
if (this.scrollable) {
|
||||||
|
|
Loading…
Reference in New Issue