@fluxhub/fluxhub-lib 19.0.23 → 19.0.24

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.
@@ -8637,7 +8637,7 @@ class FHGridComponent {
8637
8637
  let go = this.gridApi;
8638
8638
  if (go.getColumnState()[0].width < 24) {
8639
8639
  setTimeout(() => {
8640
- this.fitSizeAll();
8640
+ this.autoSizeAll();
8641
8641
  }, 1000);
8642
8642
  }
8643
8643
  }, 100);
@@ -9269,10 +9269,10 @@ class FHGridComponent {
9269
9269
  });
9270
9270
  this.gridApi.autoSizeColumns(allColumnIds);
9271
9271
  if (this.gridApi.getColumnState().length > 0)
9272
- if (this.gridApi.getColumnState()[0].width == 24) {
9272
+ if (this.gridApi.getColumnState()[0].width <= 24) {
9273
9273
  setTimeout(() => {
9274
9274
  this.autoSizeAll();
9275
- }, 300);
9275
+ }, 800);
9276
9276
  return;
9277
9277
  }
9278
9278
  this.save_cfg();
@@ -9492,7 +9492,7 @@ class FHGridComponent {
9492
9492
  if (this.columnDefs.length <= 6 || this.forceFitSize)
9493
9493
  this.fitSizeAll();
9494
9494
  else
9495
- this.fitSizeAll();
9495
+ this.autoSizeAll();
9496
9496
  }
9497
9497
  res_columns(forza = false) {
9498
9498
  if (this.columnDefs == null) {