@esfaenza/es-table 11.2.83-beta10 → 11.2.83-beta13

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.
@@ -2858,7 +2858,7 @@
2858
2858
  var _this = this;
2859
2859
  var _loop_1 = function (k) {
2860
2860
  var th = dyn[k];
2861
- var iper = { selected: false, value: th.PropertyName ? item[th.PropertyName] : "Undefined Property", type: th.PropertyType, property: th.PropertyName, header: th.PropertyName, item: item };
2861
+ var iper = { selected: false, value: th.PropertyName ? item.properties[th.PropertyName] : "Undefined Property", type: th.PropertyType, property: th.PropertyName, header: th.PropertyName, item: item };
2862
2862
  this_1.est.selectionStatus[item._ordinal][k] = iper;
2863
2863
  // Funzione assegnata dopo in modo da poterle fare anche aggiornare il valore del riferimento all'oggetto di selezione
2864
2864
  iper.val_setter = function (value) {
@@ -2870,7 +2870,7 @@
2870
2870
  var valToApply = "";
2871
2871
  switch (th.PropertyType) {
2872
2872
  case "string":
2873
- if (value.startsWith('"') && value.endsWith('"'))
2873
+ if (value.startsWith && value.startsWith('"') && value.endsWith && value.endsWith('"'))
2874
2874
  valToApply = value.substring(1, value.length - 1);
2875
2875
  else
2876
2876
  valToApply = value;
@@ -5122,6 +5122,7 @@
5122
5122
  */
5123
5123
  EsTableComponent.prototype.setupUserEdit = function (rowItem, item) {
5124
5124
  var _this = this;
5125
+ this.selection_H.clearSelectionStatus();
5125
5126
  if (this.Editable && rowItem.PropertyName) {
5126
5127
  if (this.DynamicRowColumnsDefinition.length > 0) {
5127
5128
  rowItem.edits[item._hash] = { _editing: true, old_value: item[rowItem.PropertyName] };