@fluxhub/fluxhub-lib 10.0.696 → 10.0.697
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 +16 -15
- 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 +17 -16
- package/fesm2015/fluxhub-fluxhub-lib.js +16 -15
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -7463,21 +7463,22 @@ class FHGridComponent {
|
|
|
7463
7463
|
let cmds = [];
|
|
7464
7464
|
let str_fields = "";
|
|
7465
7465
|
let p_col = this.gridOptions.columnApi.getAllDisplayedColumns();
|
|
7466
|
-
for (let j = 0; j < p_col.length; j++)
|
|
7467
|
-
if (
|
|
7468
|
-
str_fields
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7466
|
+
for (let j = 0; j < p_col.length; j++)
|
|
7467
|
+
if (p_col[j].getColDef().field.length < 60) {
|
|
7468
|
+
if (str_fields != "")
|
|
7469
|
+
str_fields += ",";
|
|
7470
|
+
if (p_col[j].getColDef().headerName == null)
|
|
7471
|
+
str_fields += "[" + p_col[j].getColDef().field + "]";
|
|
7472
|
+
else if (p_col[j].getColDef().headerName == "")
|
|
7473
|
+
str_fields += "[" + p_col[j].getColDef().field + "]";
|
|
7474
|
+
else
|
|
7475
|
+
str_fields +=
|
|
7476
|
+
"[" +
|
|
7477
|
+
p_col[j].getColDef().field +
|
|
7478
|
+
"] [" +
|
|
7479
|
+
p_col[j].getColDef().headerName.split('[').join('').split(']').join('') +
|
|
7480
|
+
"]";
|
|
7481
|
+
}
|
|
7481
7482
|
if (this.fields.indexOf("DISTINCT") != -1)
|
|
7482
7483
|
str_fields = "DISTINCT " + str_fields;
|
|
7483
7484
|
cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
|