HopesAreMiracle's avatar

How can i advoid this kind of problem Cannot reinitialise DataTable .

I have a error with this kind of problem Cannot reinitialise DataTable . Whenever i click to open my report. Its says like

DataTables warning: table id=tbl-treport - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3

So , how can i solved that one. Thanks.

0 likes
1 reply
HopesAreMiracle's avatar
Level 1

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.

Please or to participate in this conversation.