@fluxhub/fluxhub-lib 1.0.474 → 1.0.476
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 +18 -2
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +18 -3
- package/esm5/lib/controls/fhgrid.js +19 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +17 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +18 -2
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7420,6 +7420,20 @@ class FHGridComponent {
|
|
|
7420
7420
|
* @return {?}
|
|
7421
7421
|
*/
|
|
7422
7422
|
res_columns(forza = false) {
|
|
7423
|
+
if (this.columnDefs == null) {
|
|
7424
|
+
setTimeout((/**
|
|
7425
|
+
* @return {?}
|
|
7426
|
+
*/
|
|
7427
|
+
() => { this.res_columns(forza); }), 200);
|
|
7428
|
+
return;
|
|
7429
|
+
}
|
|
7430
|
+
if (this.columnDefs.length == 0) {
|
|
7431
|
+
setTimeout((/**
|
|
7432
|
+
* @return {?}
|
|
7433
|
+
*/
|
|
7434
|
+
() => { this.res_columns(forza); }), 200);
|
|
7435
|
+
return;
|
|
7436
|
+
}
|
|
7423
7437
|
/** @type {?} */
|
|
7424
7438
|
let b_mantieni_ck = false;
|
|
7425
7439
|
if (this.toggle_mantieni != null)
|
|
@@ -7471,10 +7485,11 @@ class FHGridComponent {
|
|
|
7471
7485
|
catch (eer) {
|
|
7472
7486
|
console.log(eer);
|
|
7473
7487
|
}
|
|
7488
|
+
console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7474
7489
|
if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
|
|
7475
7490
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7476
|
-
|
|
7477
|
-
|
|
7491
|
+
console.log(localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7492
|
+
console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7478
7493
|
try {
|
|
7479
7494
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7480
7495
|
}
|