ngx-deebodata 0.3.4 → 0.3.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.
|
@@ -2595,10 +2595,7 @@ class RowGroupPanel {
|
|
|
2595
2595
|
const dtb = this.panelDataGrid?.nativeElement;
|
|
2596
2596
|
if (dtb) {
|
|
2597
2597
|
const lfs = this.dataTableService.listenForScroll();
|
|
2598
|
-
|
|
2599
|
-
this.execVertScrollUp(this.columns, this.columns.length, dtb.scrollTop, true);
|
|
2600
|
-
else
|
|
2601
|
-
this.execVertScrollDown(this.columns, this.columns.length, dtb.scrollTop, true);
|
|
2598
|
+
this.execVertScrollUp(this.columns, this.columns.length, dtb.scrollTop, true);
|
|
2602
2599
|
this.handleScrollEnd();
|
|
2603
2600
|
this.execHorizScroll(dtb.scrollLeft);
|
|
2604
2601
|
if (lfs && this.rows.some(r => r.height !== this.dataTableService.defltRHgt))
|
|
@@ -5290,6 +5287,12 @@ class NgxDeebodata {
|
|
|
5290
5287
|
processGrouping(group) {
|
|
5291
5288
|
if (!group)
|
|
5292
5289
|
return this.resetCurrentData();
|
|
5290
|
+
const dtb = this.dataTableBody?.nativeElement;
|
|
5291
|
+
this.horizRest.set(0);
|
|
5292
|
+
if (dtb) {
|
|
5293
|
+
dtb.scrollLeft = 0;
|
|
5294
|
+
dtb.scrollTop = 0;
|
|
5295
|
+
}
|
|
5293
5296
|
this.verticalRest = 0;
|
|
5294
5297
|
this.rows = [];
|
|
5295
5298
|
this.aboveHgt.set(0);
|
|
@@ -5301,7 +5304,6 @@ class NgxDeebodata {
|
|
|
5301
5304
|
this.dataTableService.currSelRows = [];
|
|
5302
5305
|
this.dataTableService.displayOnlySelRows = false;
|
|
5303
5306
|
this.dataTableService.currGroup = group;
|
|
5304
|
-
this.dataTableBody.nativeElement.scrollTop = 0;
|
|
5305
5307
|
this.currGroupValues.set(this.dataTableService.dataFilSrtTracker[group]?.["selDDVals"]?.filter((g) => g.value !== "(Select All)"));
|
|
5306
5308
|
setTimeout(() => { this.rows = []; });
|
|
5307
5309
|
}
|