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
I'm using ng-tasty with a rather heavily customized table that includes custom pagination templates. The templates work wonderfully, but I noticed that refreshing the page will always reset itemsPerPage to whatever its initial setting is in the angular controller. I am trying to find a solution that will allow me to capture the itemsPerPage value when it changes, then save it in $rootScope so it persists when the page is refreshed via something like this:
Hello,
I'm using ng-tasty with a rather heavily customized table that includes custom pagination templates. The templates work wonderfully, but I noticed that refreshing the page will always reset
itemsPerPage
to whatever its initial setting is in the angular controller. I am trying to find a solution that will allow me to capture theitemsPerPage
value when it changes, then save it in $rootScope so it persists when the page is refreshed via something like this:Because the pagination template is controlled by ng-tasty, I'm at a loss for how I would go about doing this.
The text was updated successfully, but these errors were encountered: