datatable show load when ajax call code example Example: datatable load data from ajax JS { $('#myTable').DataTable( { ajax: '/api/myData' } );