@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +6 -0
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +6 -1
- package/esm5/lib/controls/fhgrid.js +7 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +5 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +6 -0
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -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 () {
|