I use JQuery DataTable. I send data to datatable onclick in json file at ajax succes .the first click everything is good,But the next click I get only the right data ANd wro
Use like it
$('#product_table').DataTable().ajax.reload();
$("#Table_id").ajax.reload(); did not work.
$("#Table_id").ajax.reload();
I implemented -
var mytbl = $("#Table_id").datatable(); mytbl.ajax.reload;