@esfaenza/es-table 11.2.22-beta28 → 11.2.22-beta31

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.
@@ -1308,7 +1308,7 @@
1308
1308
  var columns = this.est.viewMode ? view.columns : this.est.arrayColumns;
1309
1309
  this.est.ColumnsList.forEach(function (c) {
1310
1310
  // Se la colonna è pinnata mi arriva col simoleon, ma anche se è una composizione di più colonne
1311
- var exCl = columns.filter(function (cc) { return (cc.startsWith('§') ? cc.substring(1) : cc).replace('§', '') == c.id; });
1311
+ var exCl = columns.filter(function (cc) { return (cc.startsWith('§') ? cc.substring(1) : cc) == c.id; });
1312
1312
  // Se la colonna è pinnata aggiorno l'informazione nella view
1313
1313
  if (exCl.length == 1)
1314
1314
  c.pinned = exCl[0].startsWith('§');
@@ -2131,6 +2131,8 @@
2131
2131
  }
2132
2132
  else {
2133
2133
  var ret = this.est.SecondarySource ? this.est.View.items2 : this.est.TertiarySource ? this.est.View.items3 : this.est.View.items;
2134
+ if (!ret)
2135
+ ret = [];
2134
2136
  // Setto variabile interna per specificare che questo è un elemento normale, non un gruppo o altro
2135
2137
  ret.forEach(function (itm) { itm._item = true; });
2136
2138
  return ret;