@esfaenza/es-table 15.2.28 → 15.2.29

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.
@@ -4353,6 +4353,9 @@ class EsTableComponent {
4353
4353
  // Se cambia l'oggetto intero significa che ho rimandato la ricerca
4354
4354
  this.setMode('view');
4355
4355
  let firstItemGroupOrNoGrouping = (this.View.requestedgroups?.length || 0) == 0;
4356
+ // Queste sono item source custom. Le valorizzo al default se non esistono
4357
+ if (this.ItemSourceProperty && !this.View[this.ItemSourceProperty])
4358
+ this.View[this.ItemSourceProperty] = [];
4356
4359
  // Se vengo da una ricerca interna mantengo lo stato di selezione precedente (quindi su cambio pagina, cambio ipp, ecc...)
4357
4360
  // se invece l'utente ha fatto una ricerca lui (quindi cambiando filtri), secco le info di selezione
4358
4361
  if (!this.View.selection || (!this.View.internalsearchrequest && firstItemGroupOrNoGrouping) || !this.UseSelectionCache)