DataTable with live updates via AJAX
DataTable with live updates via AJAX

Im creating a log monitoring script that will display the logs in a DataTable, ill use PHP to parse the file and display it in the table. Per another thread, Ill probably end up using the deferred rendering.
I was wondering, is there a way with DataTables to be able to do this live? Like if a new row in the log is detected via PHP, can I have it insert it into the table without extending the current page? I know theres an easy way to just fnAddRow, but if the display is set to 10, i wanted the new row to push the now 11th row to the next page.
Thanks
This question has an accepted answers - jump to answer
Answers
Check out ajax.reload in the API reference. I don't know how exactly it renders new data, but it should point you in the right direction.
Ill check it out and give it a shot, thanks!