@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.
@@ -5858,6 +5858,7 @@
5858
5858
  // console.log( this.g_height);
5859
5859
  };
5860
5860
  FHGridComponent.prototype.autoSizeAll = function () {
5861
+ var _this = this;
5861
5862
  if (this.gridOptions == null)
5862
5863
  return;
5863
5864
  if (this.gridOptions.columnApi == null)
@@ -5867,6 +5868,11 @@
5867
5868
  allColumnIds.push(columnDef.field);
5868
5869
  });
5869
5870
  this.gridOptions.columnApi.autoSizeColumns(allColumnIds);
5871
+ if (this.gridOptions.columnApi.getColumnState().length > 0)
5872
+ if (this.gridOptions.columnApi.getColumnState()[0].width == 24) {
5873
+ setTimeout(function () { _this.autoSizeAll(); }, 300);
5874
+ return;
5875
+ }
5870
5876
  this.save_cfg();
5871
5877
  };
5872
5878
  FHGridComponent.prototype.fitSizeAll = function () {