Fixed #1631 - The editingRows property is not working with initial value on DataTable
parent
b5fd87dcd6
commit
2eb45a5b92
|
@ -407,6 +407,10 @@ export default {
|
||||||
if (this.isStateful() && this.resizableColumns) {
|
if (this.isStateful() && this.resizableColumns) {
|
||||||
this.restoreColumnWidths();
|
this.restoreColumnWidths();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
|
||||||
|
this.updateEditingRowKeys(this.editingRows);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
beforeUnmount() {
|
beforeUnmount() {
|
||||||
this.unbindColumnResizeEvents();
|
this.unbindColumnResizeEvents();
|
||||||
|
@ -417,6 +421,10 @@ export default {
|
||||||
if (this.isStateful()) {
|
if (this.isStateful()) {
|
||||||
this.saveState();
|
this.saveState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
|
||||||
|
this.updateEditingRowKeys(this.editingRows);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
columnProp(col, prop) {
|
columnProp(col, prop) {
|
||||||
|
|
Loading…
Reference in New Issue