Can I initialize the table with Ajax URL, but without the table making automatic request?
Can I initialize the table with Ajax URL, but without the table making automatic request?
orsn
Posts: 3Questions: 2Answers: 0
Is there a way to initialize Datatable with ajax URL, but without Datatable making automatic, immediate ajax call, or should I go for ajax.url().load()?
I'd like to set up the table with Ajax, but trigger the call manually later.
This discussion has been closed.
Answers
Try using a wrapper function around the ajax call
https://datatables.net/reference/option/ajax (scroll down)