@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.
- package/bundles/esfaenza-es-table.umd.js +3 -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/components/es-table/es_table.component.js +2 -1
- package/esm2015/lib/core/handlers/SelectionHandler.js +3 -3
- package/fesm2015/esfaenza-es-table.js +3 -2
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
|
@@ -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] };
|