tamble / jquery-ui-daterangepicker

A JQuery UI based date range picker.
MIT License
184 stars 110 forks source link

Refreshing after initialization #64

Closed saurabhdeep closed 7 years ago

saurabhdeep commented 7 years ago

How can the daterangepicker be refreshed after initialization? For example, if the minDate and maxDate need to be changed based on some business logic, how to achieve that? Something that can be achieved in datepicker by setting the options and calling refresh. Appreciate your good work and help.

saurabhdeep commented 7 years ago

My bad! Just didn't try the most obvious thing of just calling the daterangepicker with the new options. Works like a charm. Cheers!