ngx-deebodata 0.5.7 → 0.5.8
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.
|
@@ -494,7 +494,7 @@ class DataTableService {
|
|
|
494
494
|
if (this.serverSideFilteredTotal)
|
|
495
495
|
return this.serverSideFilteredTotal;
|
|
496
496
|
if (this.currFilData.length !== this.mainData.length)
|
|
497
|
-
return this.serverSideFilteredTotal || this.currFilData.length;
|
|
497
|
+
return this.serverSideFilteredTotal || this.currFilData.length || this.serverSideTotal;
|
|
498
498
|
return this.serverSideTotal || this.currFilData.length;
|
|
499
499
|
}
|
|
500
500
|
setTblVertBounds() {
|
|
@@ -7288,7 +7288,7 @@ class NgxDeebodata {
|
|
|
7288
7288
|
this.dataTableService.currMapping = {};
|
|
7289
7289
|
const filTrkr = this.dataTableService.getFilTrkerData();
|
|
7290
7290
|
if (this.paginate && this.serverSideTotal > 0 && Object.keys(filTrkr).length) //only on ss pagination
|
|
7291
|
-
this.dataFiltered.emit({ topLevelFilter: this.topLevelFilter, columnConfig:
|
|
7291
|
+
this.dataFiltered.emit({ topLevelFilter: this.topLevelFilter, columnConfig: filTrkr, sortOrder: [...this.dataTableService.sortOrder] });
|
|
7292
7292
|
if (!this.currGroupValues().length) //only if not grouped
|
|
7293
7293
|
this.horizRest.set(0);
|
|
7294
7294
|
tbody.scrollTop = 0;
|