@fluxhub/fluxhub-lib 9.0.35 → 9.0.36

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.
@@ -5725,6 +5725,7 @@ var FHGridComponent = /** @class */ (function () {
5725
5725
  // console.log( this.g_height);
5726
5726
  };
5727
5727
  FHGridComponent.prototype.autoSizeAll = function () {
5728
+ var _this = this;
5728
5729
  if (this.gridOptions == null)
5729
5730
  return;
5730
5731
  if (this.gridOptions.columnApi == null)
@@ -5734,6 +5735,11 @@ var FHGridComponent = /** @class */ (function () {
5734
5735
  allColumnIds.push(columnDef.field);
5735
5736
  });
5736
5737
  this.gridOptions.columnApi.autoSizeColumns(allColumnIds);
5738
+ if (this.gridOptions.columnApi.getColumnState().length > 0)
5739
+ if (this.gridOptions.columnApi.getColumnState()[0].width == 24) {
5740
+ setTimeout(function () { _this.autoSizeAll(); }, 300);
5741
+ return;
5742
+ }
5737
5743
  this.save_cfg();
5738
5744
  };
5739
5745
  FHGridComponent.prototype.fitSizeAll = function () {