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

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.
@@ -1307,8 +1307,8 @@
1307
1307
  return;
1308
1308
  var columns = this.est.viewMode ? view.columns : this.est.arrayColumns;
1309
1309
  this.est.ColumnsList.forEach(function (c) {
1310
- // Se la colonna è pinnata mi arriva col simoleon
1311
- var exCl = columns.filter(function (cc) { return cc.replace('§', '') == c.id; });
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; });
1312
1312
  // Se la colonna è pinnata aggiorno l'informazione nella view
1313
1313
  if (exCl.length == 1)
1314
1314
  c.pinned = exCl[0].startsWith('§');