@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.
@@ -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 (str_fields != "")
7468
- str_fields += ",";
7469
- if (p_col[j].getColDef().headerName == null)
7470
- str_fields += "[" + p_col[j].getColDef().field + "]";
7471
- else if (p_col[j].getColDef().headerName == "")
7472
- str_fields += "[" + p_col[j].getColDef().field + "]";
7473
- else
7474
- str_fields +=
7475
- "[" +
7476
- p_col[j].getColDef().field +
7477
- "] [" +
7478
- p_col[j].getColDef().headerName.split('[').join('').split(']').join('') +
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++));