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
However, the pagination control is not set to the correct page number. I think this is because the method goToPage is only called on click event of the pagination numbers. But in this particular case, it would be great if it could be set to the right page on init.
How can I do that ?
The text was updated successfully, but these errors were encountered:
ng-table params are read from URL, so when I browse to :
http://mydomain?page=5
I initialize the tableParams like this:
$scope.tableParams = new ngTableParams({
page: $location.search().page ? $location.search().page : 1
});
However, the pagination control is not set to the correct page number. I think this is because the method goToPage is only called on click event of the pagination numbers. But in this particular case, it would be great if it could be set to the right page on init.
How can I do that ?
The text was updated successfully, but these errors were encountered: