@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.
@@ -6689,21 +6689,22 @@
6689
6689
  var cmds = [];
6690
6690
  var str_fields = "";
6691
6691
  var p_col = this.gridOptions.columnApi.getAllDisplayedColumns();
6692
- for (var j = 0; j < p_col.length; j++) {
6693
- if (str_fields != "")
6694
- str_fields += ",";
6695
- if (p_col[j].getColDef().headerName == null)
6696
- str_fields += "[" + p_col[j].getColDef().field + "]";
6697
- else if (p_col[j].getColDef().headerName == "")
6698
- str_fields += "[" + p_col[j].getColDef().field + "]";
6699
- else
6700
- str_fields +=
6701
- "[" +
6702
- p_col[j].getColDef().field +
6703
- "] [" +
6704
- p_col[j].getColDef().headerName.split('[').join('').split(']').join('') +
6705
- "]";
6706
- }
6692
+ for (var j = 0; j < p_col.length; j++)
6693
+ if (p_col[j].getColDef().field.length < 60) {
6694
+ if (str_fields != "")
6695
+ str_fields += ",";
6696
+ if (p_col[j].getColDef().headerName == null)
6697
+ str_fields += "[" + p_col[j].getColDef().field + "]";
6698
+ else if (p_col[j].getColDef().headerName == "")
6699
+ str_fields += "[" + p_col[j].getColDef().field + "]";
6700
+ else
6701
+ str_fields +=
6702
+ "[" +
6703
+ p_col[j].getColDef().field +
6704
+ "] [" +
6705
+ p_col[j].getColDef().headerName.split('[').join('').split(']').join('') +
6706
+ "]";
6707
+ }
6707
6708
  if (this.fields.indexOf("DISTINCT") != -1)
6708
6709
  str_fields = "DISTINCT " + str_fields;
6709
6710
  cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));