ngx-deebodata-community 0.2.5 → 0.2.6

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.
@@ -1822,7 +1822,7 @@ class NgxDeebodataCommunity {
1822
1822
  isScrolling = false;
1823
1823
  useRowWid = "";
1824
1824
  dtr = "dataTableRow";
1825
- //rowElsPad = 1;
1825
+ rowElsPad = 1;
1826
1826
  doRowsMod = 10;
1827
1827
  paginatorReady = false;
1828
1828
  handlingSelRows = false;
@@ -2502,7 +2502,7 @@ class NgxDeebodataCommunity {
2502
2502
  const colLen = cols.length;
2503
2503
  this.maxCols = this.setMaxCols();
2504
2504
  const defNum = this.dataTableService.defltRHgtNum;
2505
- const init = Math.ceil(this.dataTableService.dTblHeight() / defNum); //+this.rowElsPad;
2505
+ const init = Math.ceil(this.dataTableService.dTblHeight() / defNum) + this.rowElsPad;
2506
2506
  this.dataTableService.useColWid = Math.ceil((this.dataTableBody.nativeElement.getBoundingClientRect().width - 16) / Math.min(colLen, this.maxCols)) + "px";
2507
2507
  for (i; i < colLen; i++) {
2508
2508
  this.columnHeaders.push({ column: cols[i], width: this.dataTableService.useColWid, hideMinCol: false, freeze: false, minimized: false, dataType: this.dataTableService.figureFilterType(cols[i]) });
@@ -3524,7 +3524,7 @@ class NgxDeebodataCommunity {
3524
3524
  this.lastElRowIndex = 0;
3525
3525
  let n = 0;
3526
3526
  const defNum = this.dataTableService.defltRHgtNum;
3527
- const init = Math.ceil(this.dataTableService.dTblHeight() / defNum); //+this.rowElsPad;
3527
+ const init = Math.ceil(this.dataTableService.dTblHeight() / defNum) + this.rowElsPad;
3528
3528
  const len = this.dataTableService.currFilData.length;
3529
3529
  if (!len) { //always just add 1
3530
3530
  this.allFilSortInfo = this.dataTableService.getAllFilSrtInfo();