remove previous datatable instance
snippet in javascript

remove previous datatable instance

user2520

//Destroy the old Datatable
$('#equictntbl').DataTable().clear().destroy();