@esfaenza/es-table 11.2.58 → 11.2.59
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 +4 -2
- 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/components/es-table/es_table.component.js +4 -2
- package/esm2015/lib/core/handlers/ColumnMetadataHandler.js +2 -2
- package/fesm2015/esfaenza-es-table.js +4 -2
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
|
@@ -956,7 +956,7 @@
|
|
|
956
956
|
// Di default la visibilità è quella impostata nel componente
|
|
957
957
|
if ((this_1.est.HiddenColumns || th.thVisible) && th.thIf) {
|
|
958
958
|
var previouslyPinned = !this_1.est.ColumnsList || this_1.est.ColumnsList.length == 0 ? null : this_1.est.ColumnsList.find(function (t) { return t.id == column; }) || null;
|
|
959
|
-
var toAdd = new EsTableColumn(column,
|
|
959
|
+
var toAdd = new EsTableColumn(column, th.thStaticContent, th.thVisible, (th.thFixed || th.thGroup), previouslyPinned == null ? th.thPinned : previouslyPinned.pinned, th.thPinnable, th.thPinnedWidth, th.Template, th._thParents, th._multi, th._multi_content);
|
|
960
960
|
if (previouslyPinned)
|
|
961
961
|
toAdd.prev_index = previouslyPinned.prev_index;
|
|
962
962
|
this_1.est.TMPColumnsList.push(toAdd);
|
|
@@ -3754,7 +3754,9 @@
|
|
|
3754
3754
|
EsTableComponent.prototype.ngAfterViewInit = function () {
|
|
3755
3755
|
// Se utilizzo la new spicy mode deduco tutti i parametri di lavoro possibili al caricamento della tabella
|
|
3756
3756
|
// Vengono sovrascritte solo le proprietà non impostate dall'utente
|
|
3757
|
-
|
|
3757
|
+
var usesThsAndTdsDirectives = this.EsTdsDirective && this.EsTdsDirective.length > 0 && this.EsThsDirective && this.EsThsDirective.length > 0;
|
|
3758
|
+
var hasNoContentProjection = !this.bodyRef && !this.headerRef && !this.headerGroupRef && !this.secondaryHeaderGroupRef;
|
|
3759
|
+
if (usesThsAndTdsDirectives || hasNoContentProjection) {
|
|
3758
3760
|
if (this.UseCustomCells == null)
|
|
3759
3761
|
this.UseCustomCells = true;
|
|
3760
3762
|
if (this.HiddenColumns == null && this.UseCustomCells)
|