@trudb/tru-common-lib 0.2.272 → 0.2.274
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.
|
@@ -7796,7 +7796,7 @@ class TruDataGrid {
|
|
|
7796
7796
|
});
|
|
7797
7797
|
}
|
|
7798
7798
|
if (change.changeOperation === 'D') {
|
|
7799
|
-
this.api.forEachNode(
|
|
7799
|
+
this.api.forEachNode((rowNode) => {
|
|
7800
7800
|
if (rowNode.data.$entity.Ref === change.tableRef) {
|
|
7801
7801
|
rowNodesToRemove.push(rowNode.data);
|
|
7802
7802
|
}
|
|
@@ -7804,13 +7804,13 @@ class TruDataGrid {
|
|
|
7804
7804
|
}
|
|
7805
7805
|
});
|
|
7806
7806
|
if (rowNodesToAdd.length) {
|
|
7807
|
-
|
|
7808
|
-
|
|
7807
|
+
setTimeout(() => {
|
|
7808
|
+
this.runSearch();
|
|
7809
|
+
}, 100);
|
|
7809
7810
|
}
|
|
7810
7811
|
if (rowNodesToRemove.length) {
|
|
7811
7812
|
this.api.applyTransaction({ remove: rowNodesToRemove });
|
|
7812
7813
|
}
|
|
7813
|
-
this.api.refreshCells({ force: true });
|
|
7814
7814
|
}));
|
|
7815
7815
|
// Listen for entities added elsewhere in the app
|
|
7816
7816
|
// Merge this logic with addEntity() logic below
|