|
@@ -114,6 +114,7 @@ export default {
|
|
|
context: {},
|
|
|
columnKey: String,
|
|
|
align: String,
|
|
|
+ headerAlign: String,
|
|
|
showTooltipWhenOverflow: Boolean,
|
|
|
showOverflowTooltip: Boolean,
|
|
|
fixed: [Boolean, String],
|
|
@@ -205,6 +206,7 @@ export default {
|
|
|
isColumnGroup,
|
|
|
context: this.context,
|
|
|
align: this.align ? 'is-' + this.align : null,
|
|
|
+ headerAlign: this.headerAlign ? 'is-' + this.headerAlign : (this.align ? 'is-' + this.align : null),
|
|
|
sortable: this.sortable,
|
|
|
sortMethod: this.sortMethod,
|
|
|
resizable: this.resizable,
|
|
@@ -305,6 +307,12 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
|
|
|
+ headerAlign(newVal) {
|
|
|
+ if (this.columnConfig) {
|
|
|
+ this.columnConfig.headerAlign = newVal ? 'is-' + newVal : this.align;
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
width(newVal) {
|
|
|
if (this.columnConfig) {
|
|
|
this.columnConfig.width = newVal;
|