DataTables Load more button

DataTables Load more button

chrisShickchrisShick Posts: 4Questions: 0Answers: 0
edited April 2014 in DataTables 1.9
Is there a way for me to extend DataTables in such a way that I would have a load more button that would load a set number of more records without reloading the previous data? I am using an ajax source. I thought we had it working, but then we noticed that it actually redraws the table and gets all the data again. I only want to retrieve the next ten and append them to the table.

Replies

  • allanallan Posts: 63,575Questions: 1Answers: 10,483 Site admin
    Its not really a case of extending DataTables I don't think, but rather just calling the fnAddData API method when you have more data to add (i.e. as the result of an Ajax call after the 'Add more' button has been pressed).

    Allan
This discussion has been closed.