datatables recreate table code example
Example: remove previous datatable instance
//Destroy the old Datatable
$('#equictntbl').DataTable().clear().destroy();
//Destroy the old Datatable
$('#equictntbl').DataTable().clear().destroy();