@fluxhub/fluxhub-lib 19.0.160 โ 19.0.162
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.
|
@@ -9516,26 +9516,27 @@ class FHGridComponent {
|
|
|
9516
9516
|
if (data != null)
|
|
9517
9517
|
if (data.result_msg == 'OK') {
|
|
9518
9518
|
ok_op = true;
|
|
9519
|
-
|
|
9519
|
+
console.log('๐งช TEST: Commento TUTTE le modifiche state');
|
|
9520
|
+
// this.rowData = data.result_data;
|
|
9520
9521
|
console.log('โ
params.success chiamato - rowCount:', data.count, 'rowData.length:', data.result_data.length);
|
|
9521
9522
|
params.success({ rowData: data.result_data, rowCount: data.count });
|
|
9522
9523
|
// Salva lo stato PRIMA di modificarlo
|
|
9523
|
-
const isFirstDataLoad = !this.b_init;
|
|
9524
|
-
this.b_init = true;
|
|
9525
|
-
this.myData = data.result_data.slice();
|
|
9526
|
-
this.num_r = data.count;
|
|
9524
|
+
// const isFirstDataLoad = !this.b_init;
|
|
9525
|
+
// this.b_init = true;
|
|
9526
|
+
// this.myData = data.result_data.slice();
|
|
9527
|
+
// this.num_r = data.count;
|
|
9527
9528
|
console.log('๐ SKIPPO cdr.detectChanges() per test');
|
|
9528
9529
|
// this.cdr.detectChanges();
|
|
9529
9530
|
console.log('๐ cdr.detectChanges() skippato');
|
|
9530
9531
|
this.m_appService.complete();
|
|
9531
|
-
console.log('๐ข
|
|
9532
|
-
this.fill_end.emit();
|
|
9533
|
-
console.log('๐ข fill_end.emit()
|
|
9532
|
+
console.log('๐ข SKIPPO fill_end.emit() per test');
|
|
9533
|
+
// this.fill_end.emit();
|
|
9534
|
+
console.log('๐ข fill_end.emit() skippato');
|
|
9534
9535
|
// check_width() puรฒ causare resize che triggera nuovi caricamenti - chiamalo solo al primo caricamento
|
|
9535
|
-
if (isFirstDataLoad) {
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
}
|
|
9536
|
+
// if (isFirstDataLoad) {
|
|
9537
|
+
// console.log('๐ Chiamando check_width() (SOLO PRIMA VOLTA)');
|
|
9538
|
+
// this.check_width();
|
|
9539
|
+
// }
|
|
9539
9540
|
localStorage.setItem(this.grid_customer_preference_key + '_POS1', JSON.stringify(p));
|
|
9540
9541
|
if (localStorage.getItem(this.grid_customer_preference_key + '_POS2') != null)
|
|
9541
9542
|
if (this.gridOptions != null)
|