@fluxhub/fluxhub-lib 10.0.536 → 10.0.538

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.
@@ -310,7 +310,12 @@
310
310
  this.msg = texto;
311
311
  };
312
312
  fh_win_confirm.prototype.ngAfterViewInit = function () {
313
- this.btn_annulla.nativeElement.focus();
313
+ var _this = this;
314
+ setTimeout(function () {
315
+ if (_this.btn_annulla != null)
316
+ if (_this.btn_annulla.nativeElement != null)
317
+ _this.btn_annulla.nativeElement.focus();
318
+ }, 500);
314
319
  };
315
320
  return fh_win_confirm;
316
321
  }());
@@ -5504,8 +5509,6 @@
5504
5509
  p.table_count = _this.count_tbl_name;
5505
5510
  // console.log(params);
5506
5511
  p.num_per_pag = params.endRow - params.startRow;
5507
- // this.gridOptions.paginationPageSize = this.num_per_pag;
5508
- // this.gridOptions.cacheBlockSize = this.num_per_pag;
5509
5512
  // console.log(this.gridOptions.cacheBlockSize );
5510
5513
  // console.log(this.gridOptions.paginationPageSize );
5511
5514
  p.curr_page = Math.round(params.startRow / p.num_per_pag);
@@ -6934,6 +6937,10 @@
6934
6937
  // console.log(this.header_h);
6935
6938
  this.gridApi = event.api;
6936
6939
  this.setHeaderHeight(this.header_h);
6940
+ if (this.num_per_pag != 0) {
6941
+ this.gridOptions.paginationPageSize = this.num_per_pag;
6942
+ this.gridOptions.cacheBlockSize = this.num_per_pag;
6943
+ }
6937
6944
  if (this.gf != null && this.show_buttons && !this.pref_hidden) {
6938
6945
  this.gf.sql = "SELECT_CFG_GRID";
6939
6946
  this.gf.types = ["string"];