@esfaenza/es-table 11.2.70 → 11.2.71

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.
@@ -3353,6 +3353,8 @@ class EsTableComponent {
3353
3353
  this.ShowItemGroupsColumns = null;
3354
3354
  /** Indica che tutti i campi che definiscono le modalità di modifica campo possono essere modificati in base alle impostazioni */
3355
3355
  this.Editable = false;
3356
+ /** Indica se è possibile effettuare selezioni a range per poi farci eventualmente copia incolla */
3357
+ this.RangeSelection = false;
3356
3358
  /** Evento che viene richiamato al cambio di oridnamento di una colonna */
3357
3359
  this.onOrderChanged = new EventEmitter();
3358
3360
  /**
@@ -4294,8 +4296,11 @@ class EsTableComponent {
4294
4296
  // Tutti i click su una cella già in edit non devono effettuare la selezione della riga
4295
4297
  if (rowItem._editing)
4296
4298
  return;
4297
- // CTRL + Click sempre istantaneo e sempre solo singola selezione
4298
- if ($event.ctrlKey) {
4299
+ // Se ho fatto click col control attaccato esco subito dato che deve solo permettere la navigazione dei link
4300
+ if ($event.ctrlKey)
4301
+ return;
4302
+ // ALT + Click sempre istantaneo e sempre solo singola selezione (NON control, dato che serve per mantenere i link....)
4303
+ if ($event.altKey && this.RangeSelection) {
4299
4304
  this.selection_H.singleCellSelection($event, item._ordinal, rowIndex);
4300
4305
  return;
4301
4306
  }
@@ -4511,6 +4516,7 @@ EsTableComponent.propDecorators = {
4511
4516
  UseSelectionCache: [{ type: Input }],
4512
4517
  ShowItemGroupsColumns: [{ type: Input }],
4513
4518
  Editable: [{ type: Input }],
4519
+ RangeSelection: [{ type: Input }],
4514
4520
  onOrderChanged: [{ type: Output }],
4515
4521
  onSearchRequest: [{ type: Output }],
4516
4522
  onSelectionChanged: [{ type: Output }],