How do I prevent column search from clicking sort?
How do I prevent column search from clicking sort?
washuit-iamm
Posts: 121Questions: 51Answers: 2
in DataTables
https://live.datatables.net/bawefuhe/1/
I modified the example column search slightly. Instead of replacing the footer, mine appends to the header.
This question has an accepted answers - jump to answer
Answers
You stop the click event bubbling up the DOM:
https://live.datatables.net/weyixiyi/1/edit
See the MDN on
stopPropagation
if you haven't come across this before.Allan