If you use the reload in this way then it will probably not work.
table.ajax.reload();
In order to fix that problem, you need to use in this way:
$('#table').DataTable().ajax.reload();
Please note that table must be your table name.
If you use the reload in this way then it will probably not work.
table.ajax.reload();
In order to fix that problem, you need to use in this way:
$('#table').DataTable().ajax.reload();
Please note that table must be your table name.