You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am loading conferences with four dates (Registration Start and End dates and Conference Start and End dates). When I load the first conference, everything works fine. However, when I load another conference with difference dates, the calendars do not reflect the correct dates, but still hand on to the previous calendar configuration. I can't seem to initialize or destroy the datepicker. It won't render with the new dates.
Example: Conference 1 registration start date: 08/15/2015 - calendar shows August and highlights the 15th.
Then I select Conference 2 registration start date: 05/3/2015 - calendar still shows August 15th. I cannot reset the datepicker and I've tried about 40 or 50 difference configurations. If I can't get an answer I'm afraid I will have to switch controls.
The text was updated successfully, but these errors were encountered:
@webeers I've been doing something similar (loading new sets of data via ajax request), and came up with the following solution:
// When initialising the datepicker for the first time, save it
// to a variable, so you can access it later
app.glDatePicker = $('#mydate').glDatePicker({
// your params
}).glDatePicker(true);
I am loading conferences with four dates (Registration Start and End dates and Conference Start and End dates). When I load the first conference, everything works fine. However, when I load another conference with difference dates, the calendars do not reflect the correct dates, but still hand on to the previous calendar configuration. I can't seem to initialize or destroy the datepicker. It won't render with the new dates.
Example: Conference 1 registration start date: 08/15/2015 - calendar shows August and highlights the 15th.
Then I select Conference 2 registration start date: 05/3/2015 - calendar still shows August 15th. I cannot reset the datepicker and I've tried about 40 or 50 difference configurations. If I can't get an answer I'm afraid I will have to switch controls.
The text was updated successfully, but these errors were encountered: