Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82126

Pagination question

$
0
0
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

Viewing all articles
Browse latest Browse all 82126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>