ngx-deebodata 0.3.4 → 0.3.5

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.
@@ -5290,6 +5290,12 @@ class NgxDeebodata {
5290
5290
  processGrouping(group) {
5291
5291
  if (!group)
5292
5292
  return this.resetCurrentData();
5293
+ const dtb = this.dataTableBody?.nativeElement;
5294
+ this.horizRest.set(0);
5295
+ if (dtb) {
5296
+ dtb.scrollLeft = 0;
5297
+ dtb.scrollTop = 0;
5298
+ }
5293
5299
  this.verticalRest = 0;
5294
5300
  this.rows = [];
5295
5301
  this.aboveHgt.set(0);
@@ -5301,7 +5307,6 @@ class NgxDeebodata {
5301
5307
  this.dataTableService.currSelRows = [];
5302
5308
  this.dataTableService.displayOnlySelRows = false;
5303
5309
  this.dataTableService.currGroup = group;
5304
- this.dataTableBody.nativeElement.scrollTop = 0;
5305
5310
  this.currGroupValues.set(this.dataTableService.dataFilSrtTracker[group]?.["selDDVals"]?.filter((g) => g.value !== "(Select All)"));
5306
5311
  setTimeout(() => { this.rows = []; });
5307
5312
  }