How can i avoid this kind of Cannot reinitialise DataTable .
How can i avoid this kind of Cannot reinitialise DataTable .

I have a error with this kind of problem Cannot reinitialise DataTable .
But i fix the code with i just add
$("#tbl-treport").dataTable().fnDestroy();
So it does not appear no more. But i have a problem with calculated footercallback total value.
thanks.
Here is the problem.
This discussion has been closed.
Answers
I got the answer because of this line of code. $("#tbl-treport").dataTable().fnDestroy();
so need to change $("#tbl-treport").dataTable().Destroy();
So it works now.