Closed rmondc closed 4 years ago
I couldn't reproduce this issue. However, I suspect it happens because your per-page
options are changing right after sorting for some reason, causing resetting this.currentPerPage
internally as you mentioned.
While I have removed that piece of code and replaced it with a watch
er, it may still occur for you if you have some issues in your own code.
My default row per page is 10. But when I set it to a 100 and sort by clicking the column header, it returned to my default row per page of 10, instead of showing the 100 rows.
Why does this.currentPerPage go back to default after sort?
Looks like its from
I change the above to this.currentPerPage = this.currentPerPage as a work around but not sure what will it affect.