Data table pagination is not working as intended.
Steps to Reproduce:-
Data table pagination is not working as intended.
Steps to Reproduce:-
1.Open https://ggmod.github.io/angular-2-data-table-demo/
2.Goto Films Table (last table present in the above link) and click next button of pagination
Once you are in page 2, change Max results to 3.
3.Navigate to previous pages (click on "<" button). When you are in page 1 you will see records indexed 3,4,5.
4.One more time click "<" button, then you will see records as 123.
When we are in step 4 the "<" button should be disabled and also data should not load in this way. I would recommend when the page limit is changed navigate to page one and reload the data from page one. Behind the screen I would say reset page number to zero, offset to zero.
Data table pagination is not working as intended. Steps to Reproduce:-
Data table pagination is not working as intended. Steps to Reproduce:-
1.Open https://ggmod.github.io/angular-2-data-table-demo/ 2.Goto Films Table (last table present in the above link) and click next button of pagination Once you are in page 2, change Max results to 3. 3.Navigate to previous pages (click on "<" button). When you are in page 1 you will see records indexed 3,4,5. 4.One more time click "<" button, then you will see records as 123.
When we are in step 4 the "<" button should be disabled and also data should not load in this way. I would recommend when the page limit is changed navigate to page one and reload the data from page one. Behind the screen I would say reset page number to zero, offset to zero.