How to update the page data when switch rowsperpage in PaginatedDataTable?
for example, when I switch to rowperpage=10 on the second page (page=2) with rowperpage=5, the index is rendered as 6-15of totalnum in the bottom right corner of the table, but i think it’s wrong because of I think this second page has to start with 10.
Example 2: when page=2, rowperpage=5, I switch to rowperpage=15, the index in the lower right corner of the table is 11-25 of totalnum.But I think the correct display should be 16-30.
Is my code not refreshing somewhere?
I have used the unique key to PaginatedDataTable instance,but in this way the page can’t be fliped, every time the page is fliped, the index is 1-rowsperpage of totalNums.