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) {
|
||||
this.restoreColumnWidths();
|
||||
}
|
||||
|
||||
if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
|
||||
this.updateEditingRowKeys(this.editingRows);
|
||||
}
|
||||
},
|
||||
beforeUnmount() {
|
||||
this.unbindColumnResizeEvents();
|
||||
|
@ -417,6 +421,10 @@ export default {
|
|||
if (this.isStateful()) {
|
||||
this.saveState();
|
||||
}
|
||||
|
||||
if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
|
||||
this.updateEditingRowKeys(this.editingRows);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
columnProp(col, prop) {
|
||||
|
|
Loading…
Reference in New Issue