@fluxhub/fluxhub-lib 19.0.19 → 19.0.20
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.
|
@@ -9094,7 +9094,6 @@ class FHGridComponent {
|
|
|
9094
9094
|
};
|
|
9095
9095
|
}
|
|
9096
9096
|
getRowId(item) {
|
|
9097
|
-
// console.log(item);
|
|
9098
9097
|
if (item == null)
|
|
9099
9098
|
return this.uti_s.newGuid();
|
|
9100
9099
|
if (item.data == null)
|
|
@@ -9105,7 +9104,7 @@ class FHGridComponent {
|
|
|
9105
9104
|
return item.data.uiid;
|
|
9106
9105
|
if (item.data.codice != null)
|
|
9107
9106
|
return item.data.codice;
|
|
9108
|
-
return
|
|
9107
|
+
return this.uti_s.newGuid();
|
|
9109
9108
|
}
|
|
9110
9109
|
agGrid;
|
|
9111
9110
|
b_init = false;
|
|
@@ -9204,7 +9203,10 @@ class FHGridComponent {
|
|
|
9204
9203
|
paste: this._trs.instant('Incolla'),
|
|
9205
9204
|
ctrlV: this._trs.instant('ctrl & V'),
|
|
9206
9205
|
},
|
|
9207
|
-
getRowId:
|
|
9206
|
+
getRowId: (item) => {
|
|
9207
|
+
console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ item:", item);
|
|
9208
|
+
if (item.customKeyField != null)
|
|
9209
|
+
return [item.customKeyField];
|
|
9208
9210
|
if (item.ID != null)
|
|
9209
9211
|
return String(item.ID);
|
|
9210
9212
|
if (item.id != null)
|
|
@@ -9213,12 +9215,16 @@ class FHGridComponent {
|
|
|
9213
9215
|
return item.uiid;
|
|
9214
9216
|
if (item.codice != null)
|
|
9215
9217
|
return item.codice;
|
|
9218
|
+
if (item.id_gruppo != null)
|
|
9219
|
+
return item.id_gruppo;
|
|
9216
9220
|
if (item.id_doc != null)
|
|
9217
9221
|
return item.id_doc;
|
|
9218
9222
|
if (item.notesid != null)
|
|
9219
9223
|
return item.notesid;
|
|
9220
9224
|
if (item.ord != null)
|
|
9221
9225
|
return item.ord;
|
|
9226
|
+
console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ NOT FOUND!!", item);
|
|
9227
|
+
return this.uti_s.newGuid();
|
|
9222
9228
|
},
|
|
9223
9229
|
};
|
|
9224
9230
|
this.init_opt = true;
|
|
@@ -11356,8 +11362,10 @@ class FHGridJSONComponent {
|
|
|
11356
11362
|
paste: this._trs.instant('Incolla'),
|
|
11357
11363
|
ctrlV: this._trs.instant('ctrl & V'),
|
|
11358
11364
|
},
|
|
11359
|
-
getRowId:
|
|
11360
|
-
|
|
11365
|
+
getRowId: (item) => {
|
|
11366
|
+
console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ item:", item);
|
|
11367
|
+
if (item.customKeyField != null)
|
|
11368
|
+
return [item.customKeyField];
|
|
11361
11369
|
if (item.ID != null)
|
|
11362
11370
|
return String(item.ID);
|
|
11363
11371
|
if (item.id != null)
|
|
@@ -11366,10 +11374,16 @@ class FHGridJSONComponent {
|
|
|
11366
11374
|
return item.uiid;
|
|
11367
11375
|
if (item.codice != null)
|
|
11368
11376
|
return item.codice;
|
|
11377
|
+
if (item.id_gruppo != null)
|
|
11378
|
+
return item.id_gruppo;
|
|
11369
11379
|
if (item.id_doc != null)
|
|
11370
11380
|
return item.id_doc;
|
|
11381
|
+
if (item.notesid != null)
|
|
11382
|
+
return item.notesid;
|
|
11371
11383
|
if (item.ord != null)
|
|
11372
11384
|
return item.ord;
|
|
11385
|
+
console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ NOT FOUND!!", item);
|
|
11386
|
+
return this.uti_s.newGuid();
|
|
11373
11387
|
},
|
|
11374
11388
|
};
|
|
11375
11389
|
}
|
|
@@ -27459,7 +27473,7 @@ class FHGridInternalComponent {
|
|
|
27459
27473
|
ctrlV: this._trs.instant('ctrl & V'),
|
|
27460
27474
|
},
|
|
27461
27475
|
getRowId: (item) => {
|
|
27462
|
-
|
|
27476
|
+
console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ item:", item);
|
|
27463
27477
|
if (item.customKeyField != null)
|
|
27464
27478
|
return [item.customKeyField];
|
|
27465
27479
|
if (item.ID != null)
|
|
@@ -27478,6 +27492,7 @@ class FHGridInternalComponent {
|
|
|
27478
27492
|
return item.notesid;
|
|
27479
27493
|
if (item.ord != null)
|
|
27480
27494
|
return item.ord;
|
|
27495
|
+
console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ NOT FOUND!!", item);
|
|
27481
27496
|
return this.uti_s.newGuid();
|
|
27482
27497
|
},
|
|
27483
27498
|
};
|