Trying to live update datatable without refreshing
Trying to live update datatable without refreshing
cdwiv
Posts: 1Questions: 1Answers: 0
Hi there,
So I'm trying to update the information in my datatable without having to refresh the page, and I've tried using the row.data() function and then redrawing the table (http://datatables.net/reference/api/row().data()), but it's doesn't seem to work. Is that the correct way to do it or is there something else I should be doing?
This discussion has been closed.
Answers
row.add()
for a single row orrows.add()
to add multiple rows is the correct method to use.If that isn't working for you, please link to a test case showing the issue so it can be debugged.
Allan