@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.
@@ -3846,6 +3846,8 @@
3846
3846
  this.ShowItemGroupsColumns = null;
3847
3847
  /** Indica che tutti i campi che definiscono le modalità di modifica campo possono essere modificati in base alle impostazioni */
3848
3848
  this.Editable = false;
3849
+ /** Indica se è possibile effettuare selezioni a range per poi farci eventualmente copia incolla */
3850
+ this.RangeSelection = false;
3849
3851
  /** Evento che viene richiamato al cambio di oridnamento di una colonna */
3850
3852
  this.onOrderChanged = new i0.EventEmitter();
3851
3853
  /**
@@ -4819,8 +4821,11 @@
4819
4821
  // Tutti i click su una cella già in edit non devono effettuare la selezione della riga
4820
4822
  if (rowItem._editing)
4821
4823
  return;
4822
- // CTRL + Click sempre istantaneo e sempre solo singola selezione
4823
- if ($event.ctrlKey) {
4824
+ // Se ho fatto click col control attaccato esco subito dato che deve solo permettere la navigazione dei link
4825
+ if ($event.ctrlKey)
4826
+ return;
4827
+ // ALT + Click sempre istantaneo e sempre solo singola selezione (NON control, dato che serve per mantenere i link....)
4828
+ if ($event.altKey && this.RangeSelection) {
4824
4829
  this.selection_H.singleCellSelection($event, item._ordinal, rowIndex);
4825
4830
  return;
4826
4831
  }
@@ -5039,6 +5044,7 @@
5039
5044
  UseSelectionCache: [{ type: i0.Input }],
5040
5045
  ShowItemGroupsColumns: [{ type: i0.Input }],
5041
5046
  Editable: [{ type: i0.Input }],
5047
+ RangeSelection: [{ type: i0.Input }],
5042
5048
  onOrderChanged: [{ type: i0.Output }],
5043
5049
  onSearchRequest: [{ type: i0.Output }],
5044
5050
  onSelectionChanged: [{ type: i0.Output }],