Trying to live update datatable without refreshing

Trying to live update datatable without refreshing

cdwivcdwiv 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?

Answers

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin

    row.add() for a single row or rows.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

This discussion has been closed.