@fluxhub/fluxhub-lib 19.0.197 → 19.0.200
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.
|
@@ -9854,6 +9854,7 @@ class FHGridComponent {
|
|
|
9854
9854
|
}
|
|
9855
9855
|
show_pulisci_filtri = false;
|
|
9856
9856
|
autoSizeAll() {
|
|
9857
|
+
console.log('autoSizeAll called');
|
|
9857
9858
|
if (this.gridOptions == null)
|
|
9858
9859
|
return;
|
|
9859
9860
|
if (this.gridApi == null)
|
|
@@ -9875,6 +9876,7 @@ class FHGridComponent {
|
|
|
9875
9876
|
this.save_cfg();
|
|
9876
9877
|
}
|
|
9877
9878
|
fitSizeAll() {
|
|
9879
|
+
console.log('fitSizeAll called');
|
|
9878
9880
|
if (this.gridApi)
|
|
9879
9881
|
this.gridApi.sizeColumnsToFit();
|
|
9880
9882
|
this.save_cfg();
|
|
@@ -10077,14 +10079,23 @@ class FHGridComponent {
|
|
|
10077
10079
|
}, 100);
|
|
10078
10080
|
}
|
|
10079
10081
|
}
|
|
10082
|
+
inittedSize = false;
|
|
10080
10083
|
set_init_size() {
|
|
10084
|
+
if (this.inittedSize)
|
|
10085
|
+
return;
|
|
10081
10086
|
if (this.myData.length == 0) {
|
|
10082
10087
|
setTimeout(() => {
|
|
10083
10088
|
this.set_init_size();
|
|
10084
10089
|
}, 500);
|
|
10085
10090
|
return;
|
|
10086
10091
|
}
|
|
10087
|
-
this.
|
|
10092
|
+
this.inittedSize = true;
|
|
10093
|
+
setTimeout(() => {
|
|
10094
|
+
this.autoSizeAll();
|
|
10095
|
+
setTimeout(() => {
|
|
10096
|
+
this.autoSizeAll();
|
|
10097
|
+
}, 1000);
|
|
10098
|
+
}, 200);
|
|
10088
10099
|
}
|
|
10089
10100
|
res_columns(forza = false) {
|
|
10090
10101
|
if (this.columnDefs == null) {
|