diff --git a/components/lib/basecomponent/BaseComponent.vue b/components/lib/basecomponent/BaseComponent.vue index f25d53aa0..a754fe6b6 100644 --- a/components/lib/basecomponent/BaseComponent.vue +++ b/components/lib/basecomponent/BaseComponent.vue @@ -79,9 +79,6 @@ export default { cx(key = '', params = {}) { return !this.isUnstyled ? this._getOptionValue(this.$css.classes, key, { instance: this, props: this.$props, state: this.$data, parentInstance: this.$parentInstance, ...params }) : undefined; }, - cxo(key = '', params = {}) { - return this.cx(key, params); - }, sx(key = '', when = true, params = {}) { if (when) { const self = this._getOptionValue(this.$css.inlineStyles, key, { instance: this, props: this.$props, state: this.$data, parentInstance: this.$parentInstance, ...params }); @@ -91,9 +88,6 @@ export default { } return undefined; - }, - sxo(key = '', when = true, params = {}) { - return this.sx(key, when, params); } }, computed: { diff --git a/components/lib/datatable/BodyCell.vue b/components/lib/datatable/BodyCell.vue index 18e3706d7..666f173ea 100755 --- a/components/lib/datatable/BodyCell.vue +++ b/components/lib/datatable/BodyCell.vue @@ -15,7 +15,7 @@ :data-p-cell-editing="d_editing" :data-p-frozen-column="columnProp('frozen')" > - {{ columnProp('header') }} + {{ columnProp('header') }} @@ -91,6 +91,7 @@ import RowRadioButton from './RowRadioButton.vue'; export default { name: 'BodyCell', + hostName: 'DataTable', extends: BaseComponent, emits: ['cell-edit-init', 'cell-edit-complete', 'cell-edit-cancel', 'row-edit-init', 'row-edit-save', 'row-edit-cancel', 'row-toggle', 'radio-change', 'checkbox-change', 'editing-meta-change'], props: { @@ -464,7 +465,7 @@ export default { return this.columnProp('field'); }, containerClass() { - return [this.columnProp('bodyClass'), this.columnProp('class'), this.cxo('bodyCell')]; + return [this.columnProp('bodyClass'), this.columnProp('class'), this.cx('bodyCell')]; }, containerStyle() { let bodyStyle = this.columnProp('bodyStyle'); diff --git a/components/lib/datatable/ColumnFilter.vue b/components/lib/datatable/ColumnFilter.vue index 1f0d111d6..9eba44a65 100644 --- a/components/lib/datatable/ColumnFilter.vue +++ b/components/lib/datatable/ColumnFilter.vue @@ -1,6 +1,6 @@