I'm struggling to get DataTables to display the same pagination behaviour on initial load as when a user selects a number of results per page.
When first rendered to screen it looks ok, with e.g. 25 results on the page, but on clicking another page number it goes from e.g.
"Showing 1 to 025 of 301 entries"
Showing 26 to 301 of 301 entries
Just remove the quotes from
pageLength: 25 making it a number (and not a string)