@fluxhub/fluxhub-lib 19.0.142 → 19.0.143

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.
@@ -9450,6 +9450,7 @@ class FHGridComponent {
9450
9450
  p_fi = {};
9451
9451
  dataSource = {
9452
9452
  getRows: (params) => {
9453
+ console.log('🔵 getRows chiamato - startRow:', params.request.startRow, 'endRow:', params.request.endRow);
9453
9454
  this.num_r = -1;
9454
9455
  this.m_appService.start();
9455
9456
  let p = { kd: this.grid_config_key };
@@ -9488,11 +9489,13 @@ class FHGridComponent {
9488
9489
  this._gridservice
9489
9490
  .doQuery(p, true, this.m_appService.API_ENDPOINT + this.service)
9490
9491
  .subscribe((data) => {
9492
+ console.log('🟢 Risposta ricevuta - count:', data?.count, 'result_data.length:', data?.result_data?.length);
9491
9493
  let ok_op = false;
9492
9494
  if (data != null)
9493
9495
  if (data.result_msg == 'OK') {
9494
9496
  ok_op = true;
9495
9497
  this.rowData = data.result_data;
9498
+ console.log('🟡 Chiamata params.success con rowCount:', data.count, 'rowData.length:', data.result_data.length);
9496
9499
  params.success({ rowData: data.result_data, rowCount: data.count });
9497
9500
  this.b_init = true;
9498
9501
  this.myData = data.result_data.slice();
@@ -10105,6 +10108,7 @@ class FHGridComponent {
10105
10108
  // return sortData(sortModel, filterData(filterModel, allOfTheData))
10106
10109
  }
10107
10110
  ref_dt() {
10111
+ console.log('🔴 ref_dt chiamato - resetting datasource');
10108
10112
  if (this.gridOptions == null)
10109
10113
  setTimeout(() => {
10110
10114
  this.ref_dt();