How to use DataTables.net

I’ve used DT in the past and I am pretty sure you don’t need to destroy the table everytime the data changes. I know it doesn’t play well with reactive data and that’s a shame. A wrapper for Wappler would have to be built for that to work.

Anyway, you can probably refresh your data clearing old data and adding new with something like:

$('#'+tableid).DataTable().clear().rows.add(updatedData).draw();