how to trigger search of datatable when date is selected by vue js datepicker
how to trigger search of datatable when date is selected by vue js datepicker
alexdomente
Posts: 2Questions: 2Answers: 0
in DataTables
I have a datatable ( with some colums) and also I have a vue js datepicker, when I choose the date from datepicker, the date is appearing in search of datatable but it's not filtering the table without a click into a search box. How can I manage this filtering automaticaly after passing the date from datepicker-vue.js. to datatable search input I have already tried to use methods of javascript like ( click()) ... thank you for any sugestions.
Answers
You could try a trigger for a
keyup
orchange
event on the DataTable search element. If that doesn't help, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.Cheers,
Colin