Skip to content

Commit 9549ba3

Browse files
committed
fix(data-editor): enable apply button after row deletion
handleDeleteRow() was missing the notifyPendingChanges() call, so the apply/reset buttons stayed disabled after deleting rows from the table.
1 parent 7e8d4bb commit 9549ba3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/utilities/data_editor.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ class DataTable {
497497
if (this.onChangeCallback) {
498498
this.onChangeCallback(-1, -1, 'row_deleted');
499499
}
500+
501+
this.notifyPendingChanges();
500502
}
501503
}
502504

0 commit comments

Comments
 (0)