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