@trudb/tru-common-lib 0.1.999 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7516,10 +7516,11 @@ class TruDataGrid {
|
|
|
7516
7516
|
onRemove = () => {
|
|
7517
7517
|
let selectedRows = this.api.getSelectedRows();
|
|
7518
7518
|
this.api.applyTransaction({ remove: selectedRows });
|
|
7519
|
-
this.api.
|
|
7520
|
-
|
|
7519
|
+
this.api.forEachNodeAfterFilter(node => {
|
|
7520
|
+
selectedRows.push(node.data);
|
|
7521
|
+
});
|
|
7521
7522
|
if (selectedRows.length)
|
|
7522
|
-
this.rowData =
|
|
7523
|
+
this.rowData = selectedRows;
|
|
7523
7524
|
else
|
|
7524
7525
|
this.rowData = [];
|
|
7525
7526
|
};
|