trying to add bootstrap-datepicker to search/filter
trying to add bootstrap-datepicker to search/filter
aaronwinslow
Posts: 3Questions: 2Answers: 0
Hello,
I'm trying to add bootstrap-datepicker (https://github.com/eternicode/bootstrap-datepicker) to the filter/search input area either in addition to the search box or in its place. I added:
$('#mytable_filter input').datepicker({
});
Any help is appreciated.
This discussion has been closed.
Answers
If bootstrap-datetimepicker is good enough you can use it with my yadcf plugin.
See sample page
Thank you, daniel_r!
I like the yadcf plug-in very much and tried to implement it before posting. I'd still be very happy to use it, but I could not figure out how to use the datepicker in yadcf to filter on a column that is not visible without the column then rendering as visible. I recognize that it's an odd requirement and that I probably should have mentioned it initially. Any ideas?
to filter a column that is not visible you just have to place the filter outside that column like in this example notice the third column filter, scroll down and inspect the code used on that page , especially
Read about filter_container_id