@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.
@@ -1902,7 +1902,11 @@ class fh_win_confirm {
1902
1902
  this.msg = texto;
1903
1903
  }
1904
1904
  ngAfterViewInit() {
1905
- this.btn_annulla.nativeElement.focus();
1905
+ setTimeout(() => {
1906
+ if (this.btn_annulla != null)
1907
+ if (this.btn_annulla.nativeElement != null)
1908
+ this.btn_annulla.nativeElement.focus();
1909
+ }, 500);
1906
1910
  }
1907
1911
  }
1908
1912
  fh_win_confirm.decorators = [
@@ -6201,8 +6205,6 @@ class FHGridComponent {
6201
6205
  p.table_count = this.count_tbl_name;
6202
6206
  // console.log(params);
6203
6207
  p.num_per_pag = params.endRow - params.startRow;
6204
- // this.gridOptions.paginationPageSize = this.num_per_pag;
6205
- // this.gridOptions.cacheBlockSize = this.num_per_pag;
6206
6208
  // console.log(this.gridOptions.cacheBlockSize );
6207
6209
  // console.log(this.gridOptions.paginationPageSize );
6208
6210
  p.curr_page = Math.round(params.startRow / p.num_per_pag);
@@ -7608,6 +7610,10 @@ class FHGridComponent {
7608
7610
  // console.log(this.header_h);
7609
7611
  this.gridApi = event.api;
7610
7612
  this.setHeaderHeight(this.header_h);
7613
+ if (this.num_per_pag != 0) {
7614
+ this.gridOptions.paginationPageSize = this.num_per_pag;
7615
+ this.gridOptions.cacheBlockSize = this.num_per_pag;
7616
+ }
7611
7617
  if (this.gf != null && this.show_buttons && !this.pref_hidden) {
7612
7618
  this.gf.sql = "SELECT_CFG_GRID";
7613
7619
  this.gf.types = ["string"];