Custom filtering - range search - On Start date

Custom filtering - range search - On Start date

robbsandyrobbsandy Posts: 10Questions: 4Answers: 0


I have a question regarding custom filtering. The example shows how to filter by age. I am trying to create the same concept by filtering on the column "start date" instead of age for the example.

Thanks for all the help.


  • daniel_rdaniel_r Posts: 460Questions: 4Answers: 67

    You can try out my yadcf plugin, it has range_date filter see showcase (third column) (see code snippet below the table) it requires a jquery ui datepicker included on page too...

  • allanallan Posts: 62,377Questions: 1Answers: 10,234 Site admin

    Fundamentally you would need to convert the date into a searchable number that you could then apply some simple logic to that will do the range search. How you convert from a date format into a decimal will depend upon your date format, but you might want to take a look at using moment.js which will convert most date formats.


This discussion has been closed.