@stemy/ngx-utils 19.4.18 → 19.4.19
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.
|
@@ -6646,7 +6646,6 @@ class DynamicTableComponent {
|
|
|
6646
6646
|
this.element = element;
|
|
6647
6647
|
this.loadData = (page, itemsPerPage) => {
|
|
6648
6648
|
const orderBy = this.realColumns[this.orderBy]?.sort;
|
|
6649
|
-
console.log("load data", page, itemsPerPage, orderBy, this.orderBy, this.orderDescending, this.filter, this.query);
|
|
6650
6649
|
return this.dataLoader(page, itemsPerPage, orderBy, this.orderDescending, this.filter, this.query);
|
|
6651
6650
|
};
|
|
6652
6651
|
this.dataLoader = this.loadLocalData;
|
|
@@ -6719,10 +6718,8 @@ class DynamicTableComponent {
|
|
|
6719
6718
|
const sortable = this.cols.filter(c => this.realColumns[c].sort);
|
|
6720
6719
|
this.orderBy = sortable.includes(this.orderBy) ? this.orderBy : sortable[0] || null;
|
|
6721
6720
|
}
|
|
6722
|
-
console.log(Object.keys(changes), orderBy, this.orderBy);
|
|
6723
6721
|
if (!changes.data && !changes.parallelData && !changes.dataLoader && !changes.itemsPerPage && !changes.orderDescending && orderBy === this.orderBy)
|
|
6724
6722
|
return;
|
|
6725
|
-
console.log("Refreshing");
|
|
6726
6723
|
this.refresh();
|
|
6727
6724
|
}
|
|
6728
6725
|
onDragStart(ev, elem, item) {
|