@trudb/tru-common-lib 0.0.494 → 0.0.496
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
|
@@ -2768,14 +2768,14 @@ class TruDataGrid {
|
|
|
2768
2768
|
this.onExport = () => {
|
|
2769
2769
|
this.exportData();
|
|
2770
2770
|
};
|
|
2771
|
-
this.connectionHub.subscribe(this.dataContext, this.config.tableName, () => { return this.loadedEntities; }, () => { return this.latestSetupQuery; }, this.config.resultConfig.expands, [], () => { return true; }).subscribe((dataChange) => {
|
|
2772
|
-
console.log(dataChange);
|
|
2773
|
-
});
|
|
2774
2771
|
}
|
|
2775
2772
|
ngOnInit() {
|
|
2776
2773
|
this.subscribeTo();
|
|
2777
2774
|
this.columnDefs = this.config.resultConfig.columnDefs;
|
|
2778
2775
|
this.gridType = this.config.resultConfig.gridType;
|
|
2776
|
+
this.connectionHub.subscribe(this.dataContext, this.config.tableName, () => { return this.loadedEntities; }, () => { return this.latestSetupQuery; }, this.config.resultConfig.expands, [], () => { return true; }).subscribe((dataChange) => {
|
|
2777
|
+
console.log(dataChange);
|
|
2778
|
+
});
|
|
2779
2779
|
}
|
|
2780
2780
|
ngOnChanges(changes) {
|
|
2781
2781
|
if (this.gridType === TruDataGridTypes.Detail || this.gridType === TruDataGridTypes.DetailManyToMany)
|