ngx-deebodata-community 0.2.5 → 0.2.7
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
|
-
|
|
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)
|
|
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]) });
|
|
@@ -2965,7 +2965,7 @@ class NgxDeebodataCommunity {
|
|
|
2965
2965
|
const doRows = (!this.isScrolling && (gap == 0 || !this.mouseIsDown)) || currTop % this.doRowsMod === 0;
|
|
2966
2966
|
const bel = this.belowArea.nativeElement;
|
|
2967
2967
|
const bbds = bel.getBoundingClientRect();
|
|
2968
|
-
const btop = bbds.top;
|
|
2968
|
+
const btop = bbds.top - gap;
|
|
2969
2969
|
const defNum = this.dataTableService.defltRHgtNum;
|
|
2970
2970
|
let z = this.lastElRowIndex + 1;
|
|
2971
2971
|
let bhToSub = 0;
|
|
@@ -3022,7 +3022,7 @@ class NgxDeebodataCommunity {
|
|
|
3022
3022
|
let rows = [];
|
|
3023
3023
|
const ael = this.aboveArea.nativeElement;
|
|
3024
3024
|
const abds = ael.getBoundingClientRect();
|
|
3025
|
-
const rbot = abds.bottom;
|
|
3025
|
+
const rbot = abds.bottom + gap;
|
|
3026
3026
|
const defNum = this.dataTableService.defltRHgtNum;
|
|
3027
3027
|
let z = (this.lastElRowIndex - maxRows);
|
|
3028
3028
|
let bhToAdd = 0;
|
|
@@ -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)
|
|
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();
|