@fluxhub/fluxhub-lib 1.0.336 → 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 -5
- 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 -6
- package/esm5/lib/controls/fhgrid.js +9 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +8 -5
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7304,11 +7304,14 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7304
7304
|
var cmds = [];
|
|
7305
7305
|
/** @type {?} */
|
|
7306
7306
|
var str_fields = "";
|
|
7307
|
-
for (var i = 0; i < this.columnDefs.length; i++)
|
|
7308
|
-
if (
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7307
|
+
for (var i = 0; i < this.columnDefs.length; i++)
|
|
7308
|
+
if (this.columnDefs[i] != null)
|
|
7309
|
+
if (this.columnDefs[i].field != null)
|
|
7310
|
+
if (this.columnDefs[i].headerName != null) {
|
|
7311
|
+
if (str_fields != '')
|
|
7312
|
+
str_fields += ',';
|
|
7313
|
+
str_fields += '[' + this.columnDefs[i].field + '] [' + this.columnDefs[i].headerName + ']';
|
|
7314
|
+
}
|
|
7312
7315
|
cmds.push(this.officeService.operation("EXCEL_APRI_EXP_GRID_NEW", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
|
|
7313
7316
|
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++));
|
|
7314
7317
|
cmds.push(this.officeService.operation("EXCEL_SALVA_EXP_GRID_NEW", "" + this.uiid_stampa + "_" + this.m_appService.user + ".xlsx", "", this.xxopx++));
|