Pagination using Ajax in jquery Datatables

Posted by kshtjsnghl on Stack Overflow See other posts from Stack Overflow or by kshtjsnghl
Published on 2011-06-06T12:25:24Z Indexed on 2012/03/25 5:28 UTC
Read the original article Hit count: 166

Filed under:
|

I am using dataTables plugin for a table on a page I am working on. Its basically fetching rows through an ajax call and in this ajax call, I send the search params that the user selects and the page number required. I need the Next, Previous, First and Last buttons to also fire the same ajax call, but with different page numbers, as the back-end interceptor depends on the page number.

This api call would return total no. of rows(say 1000) belonging for these search params and the rows with the page size( say 50).

Is there any way, I can use data table to do this?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-plugins