@esfaenza/es-table 19.2.23 → 19.2.24

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.
@@ -4036,7 +4036,7 @@ class EsTableComponent {
4036
4036
  /** Diminuisce gli spazi fra una cella e l'altra, e internamente il padding del font in modo da presentare molti più dati in un'unica pagina */
4037
4037
  this.HighCellDensity = input(null);
4038
4038
  /** Abilita o meno la possibilità di selezionare oggetti */
4039
- this._Selection = input(null, { alias: "Selection" });
4039
+ this._Selection = input(null, { alias: "Selection", transform: this.setUnderlyingSignal.bind(this, "Selection") });
4040
4040
  this.Selection = signal(null);
4041
4041
  /** Mostra o meno un messaggio di Loading al primo caricamento della tabella */
4042
4042
  this.ShowLoadingOnBootstrap = input(null);
@@ -4296,6 +4296,9 @@ class EsTableComponent {
4296
4296
  if (ngControl)
4297
4297
  ngControl.valueAccessor = this;
4298
4298
  }
4299
+ setUnderlyingSignal(signalName, value) {
4300
+ this[signalName].set(value);
4301
+ }
4299
4302
  /** @ignore */
4300
4303
  ngOnInit() {
4301
4304
  // click destro su una riga con selezione attiva: Tiro fuori il context menu e selezione l'elemento corrente
@@ -4642,9 +4645,10 @@ class EsTableComponent {
4642
4645
  let arrayMode = this.arrayMode();
4643
4646
  let isp = this.ItemSourceProperty();
4644
4647
  let customCells = this.UseCustomCells();
4645
- let dynColDefs = this.DynamicRowColumnsDefinition();
4646
4648
  // Se non ho colonne dinamiche ma sono in modalità dinamica (lo capisco perché c'è una view piena di genericitem) metto il default delle colonne
4647
4649
  this.dynamicMode_H.eventuallyReviewDynamicColumns();
4650
+ // Assolutamente da fare dopo il eventuallyReviewDynamicColumns()
4651
+ let dynColDefs = this.DynamicRowColumnsDefinition();
4648
4652
  // Gestisce la richiesta per gruppi o per singoli oggetti
4649
4653
  this.bindDisplayToLoadedItemsOrGroups(View);
4650
4654
  // Questo dev'essere per forza lanciato dopo **bindDisplayToLoadedItemsOrGroups** dato che è lì che alcune cose vengono valorizzate