@trudb/tru-common-lib 0.2.323 → 0.2.325
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.
|
@@ -7647,7 +7647,6 @@ class TruDataGrid {
|
|
|
7647
7647
|
selectedRowCount = 'Selected: 0';
|
|
7648
7648
|
api;
|
|
7649
7649
|
gridOptions = {
|
|
7650
|
-
getRowId: (params) => { return params.data.$entity.Ref.toString(); },
|
|
7651
7650
|
context: {
|
|
7652
7651
|
grid: this
|
|
7653
7652
|
},
|
|
@@ -7818,7 +7817,7 @@ class TruDataGrid {
|
|
|
7818
7817
|
if (change.changeOperation === 'D') {
|
|
7819
7818
|
this.api.forEachNode((rowNode) => {
|
|
7820
7819
|
if (rowNode.data.$entity.Ref === change.tableRef) {
|
|
7821
|
-
rowNodesToRemove.push(rowNode
|
|
7820
|
+
rowNodesToRemove.push(rowNode);
|
|
7822
7821
|
}
|
|
7823
7822
|
});
|
|
7824
7823
|
}
|
|
@@ -7827,7 +7826,7 @@ class TruDataGrid {
|
|
|
7827
7826
|
if (rowNode.data.$entity.Ref === change.tableRef) {
|
|
7828
7827
|
let results = this.dataContext.entityAccess().searchByRefArrayCacheOnly(this.config.resultConfig.entityType, this.latestSetupQuery, [rowNode.data.$entity.Ref]);
|
|
7829
7828
|
if (!results)
|
|
7830
|
-
rowNodesToRemove.push(rowNode
|
|
7829
|
+
rowNodesToRemove.push(rowNode);
|
|
7831
7830
|
}
|
|
7832
7831
|
});
|
|
7833
7832
|
}
|