Need to search data only if searchbox click
Need to search data only if searchbox click

I need to search data only if i click to search button and see particular data but i am getting issue of reintiailise datatable when i search second time so please visit this link and search by twice and you will see error
This discussion has been closed.
Answers
here i am displaying data by ajax call
Yep, as the the link in the error says you can only initialise the table once - try adding
destroy
to the table initialisation,Colin