@esfaenza/es-table 11.2.22-beta4 → 11.2.22-beta5

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.
@@ -2382,7 +2382,7 @@
2382
2382
  return "continue";
2383
2383
  // Salvo le informazioni dell'header per far parte della lista da cui scegliere quali colonne visualizzare/nascondere
2384
2384
  // Di default la visibilità è quella impostata nel componente
2385
- if (this_2.HiddenColumns || th.thVisible) {
2385
+ if ((this_2.HiddenColumns || th.thVisible) && th.thIf) {
2386
2386
  var previouslyPinned = !this_2.ColumnsList || this_2.ColumnsList.length == 0 || !this_2.ColumnsList.find(function (t) { return t.id == column_1; }) ? null : this_2.ColumnsList.find(function (t) { return t.id == column_1; }).pinned;
2387
2387
  this_2.TMPColumnsList.push(new EsTableColumn(column_1, null, th.thVisible, (th.thFixed || th.thGroup), previouslyPinned == null ? th.thPinned : previouslyPinned, th.thPinnedWidth, th.Template));
2388
2388
  }
@@ -2802,7 +2802,7 @@
2802
2802
  var th = ths[i];
2803
2803
  var toAdd = void 0;
2804
2804
  if (this.isEsTh(th)) {
2805
- toAdd = { Pinned: false, ID: th.ID, Visible: th.Visible, Class: th.Class, Order: th.Order, Orderable: th.Orderable, Template: null, Content: th.Description, Wrap: false };
2805
+ toAdd = { Pinned: false, ID: th.ID, Visible: th.Visible, Class: th.Class, Order: th.Order, Orderable: th.Orderable, Template: null, Content: th.Description, Wrap: th.Wrap };
2806
2806
  if (th.Fixed)
2807
2807
  this.TMPRowTHs.splice(0 + (fixed++), 0, toAdd);
2808
2808
  else
@@ -2810,7 +2810,7 @@
2810
2810
  }
2811
2811
  else if (th.thIf || th.thGroup) {
2812
2812
  var thClass = (th.thClass || '') + (th.thGroup ? " est-col-min" : "");
2813
- toAdd = { Pinned: columnsListCache[th.th].pinned, PinnedWidth: th.thPinnedWidth, ID: th.th, Visible: th.thVisible, Class: thClass, Order: th.thOrder, Orderable: th.thOrderable, Template: th.Template, Content: null, Wrap: false, LeftBorder: th._lbord, RightBorder: th._rbord };
2813
+ toAdd = { Pinned: columnsListCache[th.th].pinned, PinnedWidth: th.thPinnedWidth, ID: th.th, Visible: th.thVisible, Class: thClass, Order: th.thOrder, Orderable: th.thOrderable, Template: th.Template, Content: null, Wrap: th.thWrap, LeftBorder: th._lbord, RightBorder: th._rbord };
2814
2814
  this.TMPRowTHs.push(toAdd);
2815
2815
  // Se ho un modello che deve funzionare a rowgrouping ma non è ancora stata effettuata nessuna ricerca sui gruppi principali (groupingsUndefined)
2816
2816
  // li genero e mando la prima ricerca che dev'essere spedita al backend per il primo caricamento dei gruppi