@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.
- package/bundles/esfaenza-es-table.umd.js +3 -3
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esm2015/lib/es_table.component.js +4 -4
- package/fesm2015/esfaenza-es-table.js +3 -3
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
|
@@ -1978,7 +1978,7 @@ class EsTableComponent {
|
|
|
1978
1978
|
continue;
|
|
1979
1979
|
// Salvo le informazioni dell'header per far parte della lista da cui scegliere quali colonne visualizzare/nascondere
|
|
1980
1980
|
// Di default la visibilità è quella impostata nel componente
|
|
1981
|
-
if (this.HiddenColumns || th.thVisible) {
|
|
1981
|
+
if ((this.HiddenColumns || th.thVisible) && th.thIf) {
|
|
1982
1982
|
let previouslyPinned = !this.ColumnsList || this.ColumnsList.length == 0 || !this.ColumnsList.find(t => t.id == column) ? null : this.ColumnsList.find(t => t.id == column).pinned;
|
|
1983
1983
|
this.TMPColumnsList.push(new EsTableColumn(column, null, th.thVisible, (th.thFixed || th.thGroup), previouslyPinned == null ? th.thPinned : previouslyPinned, th.thPinnedWidth, th.Template));
|
|
1984
1984
|
}
|
|
@@ -2387,7 +2387,7 @@ class EsTableComponent {
|
|
|
2387
2387
|
let th = ths[i];
|
|
2388
2388
|
let toAdd;
|
|
2389
2389
|
if (this.isEsTh(th)) {
|
|
2390
|
-
toAdd = { Pinned: false, ID: th.ID, Visible: th.Visible, Class: th.Class, Order: th.Order, Orderable: th.Orderable, Template: null, Content: th.Description, Wrap:
|
|
2390
|
+
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 };
|
|
2391
2391
|
if (th.Fixed)
|
|
2392
2392
|
this.TMPRowTHs.splice(0 + (fixed++), 0, toAdd);
|
|
2393
2393
|
else
|
|
@@ -2395,7 +2395,7 @@ class EsTableComponent {
|
|
|
2395
2395
|
}
|
|
2396
2396
|
else if (th.thIf || th.thGroup) {
|
|
2397
2397
|
let thClass = (th.thClass || '') + (th.thGroup ? " est-col-min" : "");
|
|
2398
|
-
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:
|
|
2398
|
+
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 };
|
|
2399
2399
|
this.TMPRowTHs.push(toAdd);
|
|
2400
2400
|
// Se ho un modello che deve funzionare a rowgrouping ma non è ancora stata effettuata nessuna ricerca sui gruppi principali (groupingsUndefined)
|
|
2401
2401
|
// li genero e mando la prima ricerca che dev'essere spedita al backend per il primo caricamento dei gruppi
|