@esfaenza/es-table 11.2.53 → 11.2.54
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 +2 -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/core/handlers/SelectionHandler.js +3 -3
- package/fesm2015/esfaenza-es-table.js +2 -2
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
|
@@ -2796,7 +2796,7 @@
|
|
|
2796
2796
|
// Se tutti gli oggetti di questa pagina sono solezionati allora posso mettere il global check a true
|
|
2797
2797
|
// Se sono in situazione di all-select anche metto la global checkbox, nonostante ci possano essere delle esclusioni
|
|
2798
2798
|
this.est.globalCheck = this.est.boundSource.length > 0 && this.est.boundSource.filter(function (t) { return t._group || t._item; }).every(function (t) { return t._selected; });
|
|
2799
|
-
this.est.canSelectAll = selectionItem.count > 0 && this.est.SelectAll;
|
|
2799
|
+
this.est.canSelectAll = selectionItem.count > 0 && this.est.SelectAll && !this.est.SingleSelection;
|
|
2800
2800
|
// Potrebbe cambiare qualora qualcuno inserisse dati a manazza in modalità Array e desse il refresh manuale alla tabella
|
|
2801
2801
|
// Comunque costa 0 quindi mi permetto di refreshare
|
|
2802
2802
|
if (this.est.arrayMode) {
|
|
@@ -3234,7 +3234,7 @@
|
|
|
3234
3234
|
this.clearSelectionCaches();
|
|
3235
3235
|
}
|
|
3236
3236
|
// Se la possibilità di fare "Seleziona tutto" è abilitata allora la considero appena mi viene selezionato qualcosa
|
|
3237
|
-
this.est.canSelectAll = selectionItem.count > 0 && this.est.SelectAll;
|
|
3237
|
+
this.est.canSelectAll = selectionItem.count > 0 && this.est.SelectAll && !this.est.SingleSelection;
|
|
3238
3238
|
};
|
|
3239
3239
|
/** Compatta una cache di indici */
|
|
3240
3240
|
SelectionHandler.prototype.compactIndexMap = function (map) {
|