@fluxhub/fluxhub-lib 1.0.475 → 1.0.477
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 +7 -6
- 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 +8 -7
- package/esm5/lib/controls/fhgrid.js +8 -7
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +7 -6
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -7867,10 +7867,11 @@
|
|
|
7867
7867
|
catch (eer) {
|
|
7868
7868
|
console.log(eer);
|
|
7869
7869
|
}
|
|
7870
|
+
console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7870
7871
|
if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
|
|
7871
7872
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7872
|
-
|
|
7873
|
-
|
|
7873
|
+
console.log(localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7874
|
+
console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7874
7875
|
try {
|
|
7875
7876
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7876
7877
|
}
|
|
@@ -8197,10 +8198,10 @@
|
|
|
8197
8198
|
function () {
|
|
8198
8199
|
if (this.no_pref)
|
|
8199
8200
|
return;
|
|
8200
|
-
|
|
8201
|
+
console.log('afterFilterChanged');
|
|
8201
8202
|
localStorage.removeItem(this.grid_key + '_POS');
|
|
8202
8203
|
if (this.b_init) {
|
|
8203
|
-
|
|
8204
|
+
console.log('salvo f: ' + JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
8204
8205
|
localStorage.setItem(this.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
8205
8206
|
}
|
|
8206
8207
|
};
|
|
@@ -8213,9 +8214,9 @@
|
|
|
8213
8214
|
function () {
|
|
8214
8215
|
if (this.no_pref)
|
|
8215
8216
|
return;
|
|
8216
|
-
|
|
8217
|
+
console.log('onFilterModified');
|
|
8217
8218
|
if (this.b_init) {
|
|
8218
|
-
|
|
8219
|
+
console.log('salvo f: ' + JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
8219
8220
|
localStorage.setItem(this.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
8220
8221
|
}
|
|
8221
8222
|
};
|