Hi.
I recently recommended Datatables to our company as I have used it before and found it a fantastic tool. However, one of our developers believes the pagination is faulty and I wondered what your opinion was.
Using the example DataTables table on your home page I did the following:
- Clicked on the "Last" pagination link to go to the last page of results.
- Changed the number of rows displayed to 25 using the dropdown.
The pagination links change to "1 2 3", which is correct for 58 rows of 25 each. However, at this point rows 34-58 are displayed, which is the last 25 rows. Our developer believes this should actually show the last 8 rows as we are on the last page of three with 25 rows on each. This assumption is backed up by the fact that when I click on pagination link 2 we see rows 26-50 displayed, meaning when I again click on pagination link 3 (the last one) we see 8 rows.
Is he right or is what I've seen desired behaviour?
Thanks.
Dan
I recently recommended Datatables to our company as I have used it before and found it a fantastic tool. However, one of our developers believes the pagination is faulty and I wondered what your opinion was.
Using the example DataTables table on your home page I did the following:
- Clicked on the "Last" pagination link to go to the last page of results.
- Changed the number of rows displayed to 25 using the dropdown.
The pagination links change to "1 2 3", which is correct for 58 rows of 25 each. However, at this point rows 34-58 are displayed, which is the last 25 rows. Our developer believes this should actually show the last 8 rows as we are on the last page of three with 25 rows on each. This assumption is backed up by the fact that when I click on pagination link 2 we see rows 26-50 displayed, meaning when I again click on pagination link 3 (the last one) we see 8 rows.
Is he right or is what I've seen desired behaviour?
Thanks.
Dan