Fixed #1631 - The editingRows property is not working with initial value on DataTable

pull/1643/head
mertsincan 2021-10-04 10:53:44 +03:00
parent b5fd87dcd6
commit 2eb45a5b92
1 changed files with 8 additions and 0 deletions

View File

@ -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) {