DataTables Pager Showing Many Pages when there is Only One
问题 This is a weird one. I'm using datatables v1.10.19 with jQuery 3.3.1 and Bootstrap 3.3.7 My datatables grid is configured to display 1000 records (but you can change it to 2500, 5000 and "all"). I've only got about 60 records in my database. It is using Server-Side processing to retrieve data. When the grid loads, the pager displays 5 buttons plus an ellipses (as if there is even more). And even weirder, if I change the drop-down to display "all" records, it acts as I would expect i.e. the