ngx-deebodata 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.
|
@@ -5247,7 +5247,7 @@ class NgxDeebodata {
|
|
|
5247
5247
|
}
|
|
5248
5248
|
return nData;
|
|
5249
5249
|
}
|
|
5250
|
-
setRowSelChecksPlacement(
|
|
5250
|
+
setRowSelChecksPlacement() {
|
|
5251
5251
|
let i = 0;
|
|
5252
5252
|
const radd = 12;
|
|
5253
5253
|
const els = document.getElementsByClassName("select-row-check");
|
|
@@ -5276,8 +5276,6 @@ class NgxDeebodata {
|
|
|
5276
5276
|
}
|
|
5277
5277
|
}
|
|
5278
5278
|
this.setRowNumbers();
|
|
5279
|
-
if (timeoutRowNs)
|
|
5280
|
-
setTimeout(() => { this.setRowNumbers(); });
|
|
5281
5279
|
}
|
|
5282
5280
|
setRowNumbers() {
|
|
5283
5281
|
const rlen = this.rows.length;
|
|
@@ -6036,7 +6034,8 @@ class NgxDeebodata {
|
|
|
6036
6034
|
const tbl = this.dataTableBody.nativeElement;
|
|
6037
6035
|
const defNum = parseInt(this.dataTableService.defltRHgt.replace(/[ ]?px/g, ""));
|
|
6038
6036
|
tbl.scrollTop = ind * defNum;
|
|
6039
|
-
|
|
6037
|
+
this._cd.markForCheck();
|
|
6038
|
+
setTimeout(() => { this.setRowSelChecksPlacement(); this._cd.detectChanges(); });
|
|
6040
6039
|
}
|
|
6041
6040
|
}
|
|
6042
6041
|
scrollToRowGroup(rClass) {
|