Fixed #1260 - TreeTable does not add column and style props

pull/1196/head^2
Cagatay Civici 2021-05-15 13:06:54 +03:00
parent e3ab60c725
commit 729133f428
3 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ export default {
}, },
computed: { computed: {
containerClass() { containerClass() {
return [this.columnProp('bodyClass'), { return [this.columnProp('bodyClass'), this.columnProp('class'), {
'p-frozen-column': this.columnProp('frozen') 'p-frozen-column': this.columnProp('frozen')
}]; }];
}, },

View File

@ -59,7 +59,7 @@ export default {
}, },
computed: { computed: {
containerClass() { containerClass() {
return [this.columnProp('footerClass'), { return [this.columnProp('footerClass'), this.columnProp('class'), {
'p-frozen-column': this.columnProp('frozen') 'p-frozen-column': this.columnProp('frozen')
}]; }];
}, },

View File

@ -121,7 +121,7 @@ export default {
}, },
computed: { computed: {
containerClass() { containerClass() {
return [this.columnProp('headerClass'), { return [this.columnProp('headerClass'), this.columnProp('class'), {
'p-sortable-column': this.columnProp('sortable'), 'p-sortable-column': this.columnProp('sortable'),
'p-resizable-column': this.resizableColumns, 'p-resizable-column': this.resizableColumns,
'p-highlight': this.isColumnSorted(), 'p-highlight': this.isColumnSorted(),