How to load the datatable data via ajax??

How to load the datatable data via ajax??

rajaaarajaaa Posts: 21Questions: 10Answers: 2
edited June 2015 in Free community support

I have 1000 of records in my table. But i want to get the each page data ie., 10 records on demand(on page click). Because now i want to wait until the 1000 records load in the DataTable instead of that on clicking the each page the 10 records want to fetch from the datatable on each page visit..! Is there any features in dataTable for this..

Answers

  • dimgldimgl Posts: 3Questions: 1Answers: 0
    edited June 2015

    It's hard to understand what you're talking about. But if you mean server-side pagination, then yes, DataTables supports this quite well.

    https://datatables.net/manual/server-side

    Here is all of the information you need to create pagination on the server side. Basically, data tables sends the server all the information it needs to know in order to render the page the user is looking at. After that, the server is responsible for sending the information back.

  • rajaaarajaaa Posts: 21Questions: 10Answers: 2
    edited June 2015
This discussion has been closed.