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 am using async data and thus I use pageChanged to send a request and get a new page of data. The problem is that when filtering, the amount of pages can obviously decrease and the current page is set to the last page. Now I can understand the logic behind this, but the problem is that it is set to the last page even if the current page is less than the amount of pages. It should only be set to the last page if the current page is actually greater than the amount of pages.
Another thing is that you should be allowed to decide if it should be set to the first or last page. And when automatically setting the current page because the amount of pages changed, the event fired should probably be a different one. I don't like that pageChanged is fired just because the pages shrunk.
alanhe421, mmawhinney, jongunter, pouellet, grooveymo and 3 more