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