You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ngTableParams.ts: isDataReloadRequired() { // note: using != as want to treat null and undefined the same return !this.isCommittedDataset || !ng1.equals(this.createComparableParams(), this.prevParamsMemento) || this.hasGlobalSearchFieldChanges(); }
This means if isDataReloadRequired() returns true in the last digest and returns true again in THIS digest, the this.onDataReloadStatusChange(newStatus) will not be called and contents will not be refreshed because the watched value is not changed.
The text was updated successfully, but these errors were encountered:
In ngTableController.ts subscribeToTableEvents():
this.$scope.$watch('params.isDataReloadRequired()', (newStatus: boolean/*, oldStatus*/) => { this.onDataReloadStatusChange(newStatus); });
In ngTableParams.ts:
isDataReloadRequired() { // note: using != as want to treat null and undefined the same return !this.isCommittedDataset || !ng1.equals(this.createComparableParams(), this.prevParamsMemento) || this.hasGlobalSearchFieldChanges(); }
This means if isDataReloadRequired() returns true in the last digest and returns true again in THIS digest, the
this.onDataReloadStatusChange(newStatus)
will not be called and contents will not be refreshed because the watched value is not changed.The text was updated successfully, but these errors were encountered: