@trudb/tru-common-lib 0.2.208 → 0.2.210
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.
|
@@ -7761,7 +7761,10 @@ class TruDataGrid {
|
|
|
7761
7761
|
}));
|
|
7762
7762
|
}
|
|
7763
7763
|
this.subs.push(this.connectionHub.subscribe(this.dataContext, this.config.resultConfig.entityType, this.config.resultConfig.entityType.name, this.addEntity, this.getRowData, () => { return this.latestSetupQuery; }, this.config.resultConfig.expands, [], () => { return true; }).subscribe((dataChange) => {
|
|
7764
|
-
|
|
7764
|
+
if (dataChange.dataChanges.some((change) => { change.changeOperation === 'I'; }))
|
|
7765
|
+
this.runSearch();
|
|
7766
|
+
else
|
|
7767
|
+
this.api.refreshCells({ force: true });
|
|
7765
7768
|
}));
|
|
7766
7769
|
this.subs.push(fromEvent(document, 'keydown').subscribe((event) => {
|
|
7767
7770
|
if (this.config.view.active && this.config.view.window.active) {
|