@fluxhub/fluxhub-lib 10.0.322 → 10.0.323
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 +4 -0
- 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 +5 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7839,6 +7839,9 @@ class FHGridComponent {
|
|
|
7839
7839
|
localStorage.getItem(this.grid_key + "_POS2")) {
|
|
7840
7840
|
node.setSelected(true);
|
|
7841
7841
|
localStorage.removeItem(this.grid_key + "_POS2");
|
|
7842
|
+
if (localStorage.getItem(this.grid_key + "_LAST_ROW") != null)
|
|
7843
|
+
this.sRow = JSON.parse(localStorage.getItem(this.grid_key + "_LAST_ROW"));
|
|
7844
|
+
localStorage.removeItem(this.grid_key + "_LAST_ROW");
|
|
7842
7845
|
}
|
|
7843
7846
|
});
|
|
7844
7847
|
let b_mantieni_ck = false;
|
|
@@ -9188,6 +9191,7 @@ class FHGridComponent {
|
|
|
9188
9191
|
localStorage.setItem(this.grid_key + "_POS", String(selectedInGrid[0].rowIndex));
|
|
9189
9192
|
localStorage.setItem(this.grid_key + "_POS_BAR", JSON.stringify(this.gridOptions.api.getVerticalPixelRange()));
|
|
9190
9193
|
localStorage.setItem(this.grid_key + "_POS2", this.getRowNodeId(selectedInGrid[0]));
|
|
9194
|
+
localStorage.setItem(this.grid_key + "_LAST_ROW", JSON.parse(this.sRow));
|
|
9191
9195
|
// this.m_appService.getState().grid_obj=new Object();
|
|
9192
9196
|
// this.m_appService.getState().grid_obj[this.grid_key+'_NODE']=this.gridOptions.api.getSelectedRows[0];
|
|
9193
9197
|
}
|