I am using Datatables and have a button on the page that refreshes the table using AJAX. To be clear the table isn\'t using an ajax source of data, we are just using ajax to ref
Use this:
var table = $(selector).dataTables(); table.api().draw(false);
or
var table = $(selector).DataTables(); table.draw(false);