Fixed #4855 - DataTable: restore state defect
parent
8f595b2b57
commit
56e9c4b487
|
@ -416,11 +416,6 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeMount() {
|
|
||||||
if (this.isStateful()) {
|
|
||||||
this.restoreState();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$el.setAttribute(this.attributeSelector, '');
|
this.$el.setAttribute(this.attributeSelector, '');
|
||||||
|
|
||||||
|
@ -428,8 +423,10 @@ export default {
|
||||||
this.createResponsiveStyle();
|
this.createResponsiveStyle();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isStateful() && this.resizableColumns) {
|
if (this.isStateful()) {
|
||||||
this.restoreColumnWidths();
|
this.restoreState();
|
||||||
|
|
||||||
|
this.resizableColumns && this.restoreColumnWidths();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
|
if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
|
||||||
|
|
Loading…
Reference in New Issue