ajax.reload doesn't seem to exist
ajax.reload doesn't seem to exist
womplify
Posts: 30Questions: 3Answers: 0
I am instantiating table with
Posts_DataTable = $('#posts').dataTable(...
which is loading data from a server using ajax.
I read in the documentation that I would be able to then reload the table, using Posts_DataTable.ajax.reload(), however, the entire Posts_DataTable.ajax doesn't exist.
What am I missing?
This discussion has been closed.
Answers
Hmm.. I just saw that it works if I call after adding DataTable() between the table object and the ajax.. like this..
Posts_DataTable.DataTable().ajax.reload();
Yup - second top FAQ :-)
Allan