Need to search data only if searchbox click

Need to search data only if searchbox click

vikisonivikisoni Posts: 3Questions: 2Answers: 0

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

https://jsfiddle.net/ue2a1fbd/2/

Answers

  • vikisonivikisoni Posts: 3Questions: 2Answers: 0

    here i am displaying data by ajax call

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Yep, as the the link in the error says you can only initialise the table once - try adding destroy to the table initialisation,

    Colin

Sign In or Register to comment.