@fluxhub/fluxhub-lib 19.0.163 → 19.0.164
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.
|
@@ -9700,7 +9700,9 @@ class FHGridComponent {
|
|
|
9700
9700
|
pagination: this.pagination,
|
|
9701
9701
|
paginationPageSize: this.paginationPageSize,
|
|
9702
9702
|
cacheBlockSize: this.num_per_pag,
|
|
9703
|
-
maxBlocksInCache:
|
|
9703
|
+
maxBlocksInCache: 10,
|
|
9704
|
+
blockLoadDebounceMillis: 200,
|
|
9705
|
+
maxConcurrentDatasourceRequests: 1,
|
|
9704
9706
|
headerHeight: this.header_h,
|
|
9705
9707
|
paginationAutoPageSize: this.paginationAutoPageSize,
|
|
9706
9708
|
rowHeight: this.rowHeight,
|
|
@@ -9791,49 +9793,37 @@ class FHGridComponent {
|
|
|
9791
9793
|
}
|
|
9792
9794
|
let item = itemg.data;
|
|
9793
9795
|
let rowId;
|
|
9794
|
-
let source;
|
|
9795
9796
|
if (item.customKeyField != null) {
|
|
9796
9797
|
rowId = [item.customKeyField];
|
|
9797
|
-
source = 'customKeyField';
|
|
9798
9798
|
}
|
|
9799
9799
|
else if (item.ID != null) {
|
|
9800
9800
|
rowId = String(item.ID);
|
|
9801
|
-
source = 'ID';
|
|
9802
9801
|
}
|
|
9803
9802
|
else if (item.id != null) {
|
|
9804
9803
|
rowId = String(item.id);
|
|
9805
|
-
source = 'id';
|
|
9806
9804
|
}
|
|
9807
9805
|
else if (item.uiid != null) {
|
|
9808
9806
|
rowId = item.uiid;
|
|
9809
|
-
source = 'uiid';
|
|
9810
9807
|
}
|
|
9811
9808
|
else if (item.codice != null) {
|
|
9812
9809
|
rowId = item.codice;
|
|
9813
|
-
source = 'codice';
|
|
9814
9810
|
}
|
|
9815
9811
|
else if (item.id_gruppo != null) {
|
|
9816
9812
|
rowId = item.id_gruppo;
|
|
9817
|
-
source = 'id_gruppo';
|
|
9818
9813
|
}
|
|
9819
9814
|
else if (item.id_doc != null) {
|
|
9820
9815
|
rowId = item.id_doc;
|
|
9821
|
-
source = 'id_doc';
|
|
9822
9816
|
}
|
|
9823
9817
|
else if (item.notesid != null) {
|
|
9824
9818
|
rowId = item.notesid;
|
|
9825
|
-
source = 'notesid';
|
|
9826
9819
|
}
|
|
9827
9820
|
else if (item.ord != null) {
|
|
9828
9821
|
rowId = item.ord;
|
|
9829
|
-
source = 'ord';
|
|
9830
9822
|
}
|
|
9831
9823
|
else {
|
|
9832
9824
|
console.warn('🆔 getRowId: NESSUN CAMPO ID TROVATO - generando GUID! Campi disponibili:', Object.keys(item));
|
|
9833
9825
|
rowId = this.uti_s.newGuid();
|
|
9834
|
-
source = 'GUID_GENERATO';
|
|
9835
9826
|
}
|
|
9836
|
-
console.log('🆔 getRowId:', rowId, '(source:', source + ')');
|
|
9837
9827
|
return rowId;
|
|
9838
9828
|
}
|
|
9839
9829
|
};
|