Answers for "datatables refresh after insert"

0

datatables ajax reload

var table = $('#example').DataTable( {
    ajax: "data.json"
} );
 
setInterval( function () {
    table.ajax.reload();
}, 30000 );
Posted by: Guest on October-23-2021
2

Reload datatable

Javascript12345var table = $('#example').DataTable(); table.ajax.reload( function ( json ) {    $('#myInput').val( json.lastInput );} );
Posted by: Guest on August-26-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language