@trudb/tru-common-lib 0.0.502 → 0.0.504
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.
- package/esm2020/lib/classes/tru-data-change-parser.mjs +1 -1
- package/esm2020/lib/components/data-grid/tru-data-grid.mjs +4 -4
- package/fesm2015/trudb-tru-common-lib.mjs +3 -3
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +3 -3
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2622,9 +2622,6 @@ class TruDataGrid {
|
|
|
2622
2622
|
this.searchViewEventHandler.onSearch().pipe(skip(1)).subscribe((setupQuery) => {
|
|
2623
2623
|
this.onSearch(setupQuery);
|
|
2624
2624
|
});
|
|
2625
|
-
this.connectionHub.subscribe(this.dataContext, this.entity, this.config.tableName, () => { return this.loadedEntities; }, () => { return this.latestSetupQuery; }, this.config.resultConfig.expands, [], () => { return true; }).subscribe((dataChange) => {
|
|
2626
|
-
console.log(dataChange);
|
|
2627
|
-
});
|
|
2628
2625
|
};
|
|
2629
2626
|
this.loadGridData = (entities) => {
|
|
2630
2627
|
this.rowData = entities.map(this.enhanceRowDataForEntity, entities);
|
|
@@ -2776,6 +2773,9 @@ class TruDataGrid {
|
|
|
2776
2773
|
this.onSearch(this.config.resultConfig.setupQuery(this.entity));
|
|
2777
2774
|
}
|
|
2778
2775
|
ngAfterViewInit() {
|
|
2776
|
+
this.connectionHub.subscribe(this.dataContext, this.entity, this.config.tableName, () => { return this.loadedEntities; }, () => { return this.latestSetupQuery; }, this.config.resultConfig.expands, [], () => { return true; }).subscribe((dataChange) => {
|
|
2777
|
+
console.log(dataChange);
|
|
2778
|
+
});
|
|
2779
2779
|
//setTimeout to prevent: ERROR Error: NG0100: ExpressionChangedAfterItHasBeenCheckedError.
|
|
2780
2780
|
setTimeout(() => {
|
|
2781
2781
|
this.parentToolbarTemplate = this.searchResultViewManager.searchViewToolbarTemplate;
|