Datatable showing wrong pagination limits.

Datatable showing wrong pagination limits.

Neha PeerNeha Peer Posts: 3Questions: 2Answers: 0

I am trying to use server-side processing with ajax along with pagination. Data is loading perfectly well but at the end of the system shows this message "Showing 20,516 to 20,533 of 20,542 entries".

Even I check a query it fetches 20,542 records, also I checked the info method it gives below result-

var info = table.page.info();
page: 132, pages: 135, start: 20299, end: 20452, length: 153, recordsTotal: 20542, recordsDisplay: 20542, serverSide: true

can somebody please help me out with this?

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 12,657Questions: 0Answers: 2,163
    Answer ✓

    I suspect your server-side script isn't complying with the request it was sent. The protocol is discussed here. Also see examples here.

    Cheers,

    Colin

Sign In or Register to comment.