oTable.ajax.reload();

oTable.ajax.reload();

deliatordeliator Posts: 95Questions: 1Answers: 0

I works well for a server side table but how can i make that work with an HTML table ?

Replies

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin

    ajax.reload() only has meaning if you use the ajax option in the DataTable configuration. If you don't ajax load the initial data then ajax.reload() can't know anything about your Ajax data source.

    You could make the Ajax request yourself and then use clear() and rows.add() to add the data to the table.

    Allan

This discussion has been closed.