jquery-date-range-picker icon indicating copy to clipboard operation
jquery-date-range-picker copied to clipboard

How to reinitialise on resize?

Open Varin6 opened this issue 9 years ago • 2 comments

I need to display 2 months view when window is larger than 768px and one month view when window is smaller than that. Is there a way of destroying and then reinitialising .dateRangePicker so it changes dynamically when the window is resized?

Varin6 avatar Jan 20 '17 15:01 Varin6

Me too. Have you visualized any solution @Varin6 ? I tried to use .destroy(), but the browser doesn't recognize it.

FelipeDeCastro avatar Feb 20 '17 02:02 FelipeDeCastro

Me too. Any workaround?

chalda-pnuzig avatar Aug 29 '18 10:08 chalda-pnuzig