Unexpected behaviour with full_numbers when changing Show entries
Unexpected behaviour with full_numbers when changing Show entries
ThomasG77
Posts: 2Questions: 0Answers: 0
Hello,
I get an unexpected behaviour. To understand it, go on http://www.datatables.net/release-datatables/examples/basic_init/alt_pagination.html
Click on "Last". You get "Showing 51 to 51 of 51 entries". It's normal for the moment ("Show entries" is set to 10 at start)
Now Set "Show entries" to 25. You get "Showing 27 to 51 of 51 entries".
What I was expecting was "Showing 51 to 51 of 51 entries".
It works like I want if I click on "2" and "3" again.
There is a way to correct this behaviour (I don't know if it's a bug or the default chosen behaviour)?
Regards
I get an unexpected behaviour. To understand it, go on http://www.datatables.net/release-datatables/examples/basic_init/alt_pagination.html
Click on "Last". You get "Showing 51 to 51 of 51 entries". It's normal for the moment ("Show entries" is set to 10 at start)
Now Set "Show entries" to 25. You get "Showing 27 to 51 of 51 entries".
What I was expecting was "Showing 51 to 51 of 51 entries".
It works like I want if I click on "2" and "3" again.
There is a way to correct this behaviour (I don't know if it's a bug or the default chosen behaviour)?
Regards
This discussion has been closed.
Replies
It's easy to modify the source if you want to change this behaviour just search for this comment:
[code]
/* If we have space to show extra rows (backing up from the end point - then do so */
[/code]
and remove the block following it.
Allan
Thank a lot for you answer. It work's now like I want
Regards