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

Server Processing: pagination not working

$
0
0

Hi,

I am trying to use Server Side Processing with datatables 1.10.1 but I am having trouble to display the right pagination (I only see page 1 while it should show 2 pages because I have recordsTotal = 11):

Here is the json I am sending to the client:

{"draw":1,"recordsTotal":11,"recordsFiltered":10,"data":[["Gloria","Little","Systems Administrator","New York","10th Apr 09","$237,500"],["Haley","Kennedy","Senior Marketing Designer","London","18th Dec 12","$313,500"],["Hermione","Butler","Regional Director","London","21st Mar 11","$356,250"],["Herrod","Chandler","Sales Assistant","San Francisco","6th Aug 12","$137,500"],["Hope","Fuentes","Secretary","San Francisco","12th Feb 10","$109,850"],["Howard","Hatfield","Office Manager","San Francisco","16th Dec 08","$164,500"],["Jackson","Bradshaw","Director","New York","26th Sep 08","$645,750"],["Jena","Gaines","Office Manager","London","19th Dec 08","$90,560"],["Jenette","Caldwell","Development Lead","New York","3rd Sep 11","$345,000"],["Jennifer","Chang","Regional Director","Singapore","14th Nov 10","$357,650"]]}

Is there something that I am missing?

thanks


Viewing all articles
Browse latest Browse all 82273

Trending Articles



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