$('#targettable').dataTables.destroy() does not work where as fnDestory works well.
$('#targettable').dataTables.destroy() does not work where as fnDestory works well.

Hi Support,
//this does not work
$('#targettable').dataTable().destroy();
$('#targettable').empty();
//if changed to fnDestory then this works,
$('#targettable').dataTable().fnDestroy();
$('#targettable').empty();
Please look this issue and help me to resolve this.
Regards.
Sunil
This discussion has been closed.
Answers
That will give an error because it should be:
Note the change in the case. I think I make that change yesterday, but it is possible I missed it.
The explanation for this is available in the FAQs.
Allan