Reset dataTable data
Reset dataTable data
guilhermemaranhao
Posts: 38Questions: 11Answers: 0
Hi everyone,
Maybe it's a dumb question, but I didn't find the solution anywhere!
How can I reset my dataTable data after a search query removal?
For example, first I have my query: "something"
table.column(0).search("something").draw();
After removing my query I need to reset the data to the original state.
How can I achieve that?
Thanks,
guilherme
This discussion has been closed.
Answers
This should do what you want:
table.column(0).search("").draw();
Kevin
Great! It worked!
Thank you