@fluxhub/fluxhub-lib 22.0.10 → 22.0.11
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.
|
@@ -11319,6 +11319,9 @@ class FHGridComponent {
|
|
|
11319
11319
|
* (pulsante in toolbar): in quel caso la grid è per definizione a video, quindi
|
|
11320
11320
|
* si salta l'euristica di visibilità e non si rimanda mai. */
|
|
11321
11321
|
autoSizeAll(force = false) {
|
|
11322
|
+
// richiamata anche da setTimeout: la griglia puo' essere gia' distrutta
|
|
11323
|
+
if (!this.gridApi || this.gridApi.isDestroyed?.())
|
|
11324
|
+
return;
|
|
11322
11325
|
if (this.gridOptions == null)
|
|
11323
11326
|
return;
|
|
11324
11327
|
if (this.gridApi == null)
|
|
@@ -11349,6 +11352,9 @@ class FHGridComponent {
|
|
|
11349
11352
|
this.save_cfg();
|
|
11350
11353
|
}
|
|
11351
11354
|
fitSizeAll() {
|
|
11355
|
+
// richiamata anche da setTimeout: la griglia puo' essere gia' distrutta
|
|
11356
|
+
if (!this.gridApi || this.gridApi.isDestroyed?.())
|
|
11357
|
+
return;
|
|
11352
11358
|
console.log('fitSizeAll called');
|
|
11353
11359
|
if (this.gridApi)
|
|
11354
11360
|
this.gridApi.sizeColumnsToFit();
|
|
@@ -26355,6 +26361,9 @@ class FHWinGridSelection {
|
|
|
26355
26361
|
}, 100);
|
|
26356
26362
|
}
|
|
26357
26363
|
autoSizeAll() {
|
|
26364
|
+
// richiamata anche da setTimeout: la griglia puo' essere gia' distrutta
|
|
26365
|
+
if (!this.gridApi || this.gridApi.isDestroyed?.())
|
|
26366
|
+
return;
|
|
26358
26367
|
if (this.gridOptions == null)
|
|
26359
26368
|
return;
|
|
26360
26369
|
if (this.gridApi == null)
|
|
@@ -26373,6 +26382,9 @@ class FHWinGridSelection {
|
|
|
26373
26382
|
}
|
|
26374
26383
|
}
|
|
26375
26384
|
fitSizeAll() {
|
|
26385
|
+
// richiamata anche da setTimeout: la griglia puo' essere gia' distrutta
|
|
26386
|
+
if (!this.gridApi || this.gridApi.isDestroyed?.())
|
|
26387
|
+
return;
|
|
26376
26388
|
if (this.gridApi)
|
|
26377
26389
|
this.gridApi.sizeColumnsToFit();
|
|
26378
26390
|
}
|