Having trouble using the search filter when 'copying & pasting'
Having trouble using the search filter when 'copying & pasting'
Hi,
the problem I'm facing is getting my table to update when I paste (right click and clicking paste) a word into the search box. The table updates fine when I use control + v but not when I right click and click paste.
Is there anyway to call the search on a mouse click event?
Thanks
the problem I'm facing is getting my table to update when I paste (right click and clicking paste) a word into the search box. The table updates fine when I use control + v but not when I right click and click paste.
Is there anyway to call the search on a mouse click event?
Thanks
This discussion has been closed.
Replies
[code]
$(".dataTables_filter input").on("paste", function() {
setTimeout(function() {
$(this).trigger("keyup.DT");
}, 1);
});
[/code]
Allan