themouette / jquery-week-calendar

A weekly calendar plugin based on jquery and jquery-ui
http://groups.google.com/group/jquery-week-calendar
720 stars 253 forks source link

Refresh Calendar without render flicker #196

Open lupulin opened 8 years ago

lupulin commented 8 years ago

I'm trying figure out a way to refresh the calendar seamlessly without the flicker.

I was thinking of making 2 divs, one hidden where I could refresh it with new data thinking that it's hidden so it would render out of sight, then use the contents of that div to update the inside of the other div.

However, this doesn't work. Anytime you call "weekCalendar('refresh')" it seems to refresh all the registered calendars on the page.

I'm wondering how it might be possible to fix this issue.

Thanks!