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