Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to refresh datatable in jquery

var refreshedDataFromTheServer = getDataFromServer();

var myTable = $('#tableId').DataTable();
myTable.clear().rows.add(refreshedDataFromTheServer).draw();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #refresh #datatable #jquery
ADD COMMENT
Topic
Name
7+4 =