@smartbit4all/ng-client 3.3.68 → 3.3.69
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/smart-grid/smart-grid.component.mjs +13 -4
- package/fesm2015/smartbit4all-ng-client.mjs +18 -8
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +12 -3
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-grid/smart-grid.component.d.ts +2 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.69.tgz +0 -0
- package/smartbit4all-ng-client-3.3.68.tgz +0 -0
|
@@ -9756,8 +9756,12 @@ class SmartGridComponent {
|
|
|
9756
9756
|
}
|
|
9757
9757
|
this.isBlocked = false;
|
|
9758
9758
|
}
|
|
9759
|
+
clearTable() {
|
|
9760
|
+
this.vcRefTable?.clear();
|
|
9761
|
+
this.componentRefTable = undefined;
|
|
9762
|
+
}
|
|
9759
9763
|
async renderTable() {
|
|
9760
|
-
this.
|
|
9764
|
+
this.clearTree();
|
|
9761
9765
|
let tableRow = this.smartGrid.gridModel.page.rows.map((item) => {
|
|
9762
9766
|
return item;
|
|
9763
9767
|
});
|
|
@@ -9928,9 +9932,14 @@ class SmartGridComponent {
|
|
|
9928
9932
|
const selectionMode = this.service.gridModel.view?.descriptor?.selectionMode;
|
|
9929
9933
|
return selectionMode === GridSelectionMode.MULTIPLE;
|
|
9930
9934
|
}
|
|
9935
|
+
clearTree() {
|
|
9936
|
+
this.treeControl = undefined;
|
|
9937
|
+
this.treeDataSource = undefined;
|
|
9938
|
+
this.treeFlattener = undefined;
|
|
9939
|
+
this.treeChecklistSelection = undefined;
|
|
9940
|
+
}
|
|
9931
9941
|
renderTree() {
|
|
9932
|
-
this.
|
|
9933
|
-
this.componentRefTable = undefined;
|
|
9942
|
+
this.clearTable();
|
|
9934
9943
|
if (!this.treeDataSource) {
|
|
9935
9944
|
this.treeFlattener = new MatTreeFlattener(this.transformer, this.getLevel, this.isExpandable, this.getChildren);
|
|
9936
9945
|
this.treeControl = new FlatTreeControl(this.getLevel, this.isExpandable);
|