@fluxhub/fluxhub-lib 1.0.335 → 1.0.337
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 +8 -9
- 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 +9 -10
- package/esm5/lib/controls/fhgrid.js +9 -10
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -9
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +8 -9
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6893,17 +6893,16 @@ class FHGridComponent {
|
|
|
6893
6893
|
this.dialogRef_W.componentInstance.label = "EXPORT IN CORSO";
|
|
6894
6894
|
/** @type {?} */
|
|
6895
6895
|
let cmds = [];
|
|
6896
|
-
if (this.curr_filter == '') {
|
|
6897
|
-
this._toast.error('Selezionare almeno un filtro');
|
|
6898
|
-
return;
|
|
6899
|
-
}
|
|
6900
6896
|
/** @type {?} */
|
|
6901
6897
|
let str_fields = "";
|
|
6902
|
-
for (let i = 0; i < this.columnDefs.length; i++)
|
|
6903
|
-
if (
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6898
|
+
for (let i = 0; i < this.columnDefs.length; i++)
|
|
6899
|
+
if (this.columnDefs[i] != null)
|
|
6900
|
+
if (this.columnDefs[i].field != null)
|
|
6901
|
+
if (this.columnDefs[i].headerName != null) {
|
|
6902
|
+
if (str_fields != '')
|
|
6903
|
+
str_fields += ',';
|
|
6904
|
+
str_fields += '[' + this.columnDefs[i].field + '] [' + this.columnDefs[i].headerName + ']';
|
|
6905
|
+
}
|
|
6907
6906
|
cmds.push(this.officeService.operation("EXCEL_APRI_EXP_GRID_NEW", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
|
|
6908
6907
|
cmds.push(this.officeService.operation("EXCEL_CREA_TABELLA_FROM_DB_EXP_GRID_NEW", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "", this.xxopx++));
|
|
6909
6908
|
cmds.push(this.officeService.operation("EXCEL_SALVA_EXP_GRID_NEW", "" + this.uiid_stampa + "_" + this.m_appService.user + ".xlsx", "", this.xxopx++));
|