Custom filtering - range search on Date
Custom filtering - range search on Date
Hi,
I am using editor and I am using the..
def: function () { return new Date(); }
as my form fields, which creates a datepicker for data entry. These date values are being stored in my database.
I am trying to use the custom filtering - range, example on this site, but I can't figure out what I need to alter, to change the search from age to date.
https://datatables.net/examples/plug-ins/range_filtering
Changing the (html) min and max field to a datepicker would be a bonus, but isn't necessary. Does anyone now how to turn the simple example on this site to process a date range instead?
This question has an accepted answers - jump to answer
Answers
Have a look at YADCF which provides that sort of ability and more.
Allan
What if I am using bootstrap framework with datatables? YADCF says I need to use jQuery UI.
You'd probably need to write a custom date range filter in that case. I'm afraid I don't have a tutorial on that specific use case.
Allan
Hi
Yadcf works with bootsrtap / jquery ui / whatever you want it.. @rlangille2 please point me to where "YADCF says I need to use jQuery UI."
Thanks