Datatable ajax:json makes data disappear when searching, changing show items, next and prev page
Datatable ajax:json makes data disappear when searching, changing show items, next and prev page

when dynamically adding the data on the Datatable all functions makes the data disappear.
search, show, next page and prev page.
--AFTER AJAX REQUEST--
obj = JSON DATA;
$('#subjectListTable').DataTable({
columns: obj
});
This discussion has been closed.
Answers
Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.
Information on how to create a test page, if you can't provide a link to your own page can be found here.
Thanks,
Allan