continuouscalendar / jquery-continuous-calendar

Date picker and range selector with scrollable months instead of paged (the only right way to do it)
http://continuouscalendar.github.io/jquery-continuous-calendar/
85 stars 35 forks source link

ability to set range from two input fields and update the calendar selected range #68

Open robbyking3 opened 11 years ago

robbyking3 commented 11 years ago

I have the two input fields that are populated with the start date and end date and would like the ability to watch each input for a change and call something like "setRangeEnd" and "setRangeStart" and call that each time a change event occurs in the input.

eeroan commented 11 years ago

Currently the only way to achieve your goal is to render the calendar again after an input event. If you want to code support for changing range externally, I'm happy to accept your pull request. Perhaps the calendar could listen a custom event that could be triggered from outside:

container.continuousCalendar(options)
//for range version
container.trigger('update', myDateRange)
//and for single date version:
container.trigger('update', myDateTime)
stutivora commented 9 years ago

Do we have this functionality? Any plans on adding this? I am setting the range object with a start and end date. Would like functionality that reflects the rage on the calendar.

eeroan commented 9 years ago

Would you like to contribute?

eeroan commented 8 years ago

This is the next I'm about to implement

prateeksan commented 7 years ago

@eeroan Any updates on this issue?