Update DataTables Row after Database Update

Update DataTables Row after Database Update

MiklaMikla Posts: 2Questions: 0Answers: 0

I currently have a table of data. In the background, the database that the table is based on continuously updates. I put a button for each row and wrote a simple JavaScript function to process the row:

$('#porders tbody').on( 'click', 'button', function () {
var dataRow = table.row( $(this).parents('tr') );
}

But, how do I refresh the row to update to the latest database data in this function?

Thanks!

Replies

This discussion has been closed.