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