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