| Issue 240: | forceUpdate | |
| 5 people starred this issue and may be notified of changes. | Back to list |
Hi, my propose is to introduce a "forceUpdateOnChange" in order to refetch events at every change: viewChange and render. Attach is fullcalendar.js modified, look at "BC" for changes.
Dec 11, 2009
#1
koz...@gmail.com
Dec 11, 2009
viewDisplay is triggered AFTER the events are rendered, so it's necessary to remove all events and rerender, but I've found a lot of difficult to resyncronize events. I've used firebug to analyze network traffic and this method is the only one taht sent only 1 request to json (events event) script. Have you found other methods? Thanks Nicola
Dec 20, 2009
Issue 232 has been merged into this issue.
Dec 20, 2009
kozefx, thanks for all your input on the issue. attaching a refetchEvents to the viewDisplay was my first reaction too. after thinking about it, if you attach a refetch to every viewDisplay, that might be in addition to a refetch that it was already implicitly going to do, so sometimes you will end up with 2 refetches. the easiest solution is to have to a new option to force refetching. nicola, thanks for the code. ill try to roll it into an upcoming release
Status:
Accepted
Labels: -Type-Defect Type-Enhancement
Dec 21, 2009
Issue 253 has been merged into this issue.
Jan 14, 2010
Need it soo much!!! Did you add this option in the next release?
Feb 3, 2010
Nicola, thanks for your code. It definitely works. Unfortunately with large amounts of events it exasperates Issue 178 . Hopefully 1.4.4 comes out soon!
Feb 4, 2010
I made a temporary fix for fullcalendar v1.4.4 to force events refetching while changing view or day. Take a look here: https://code.google.com/p/fullcalendar/issues/detail?id=323&sort=-id&colspec=ID%20Type%20Status%20Milestone%20Summary%20Stars
Feb 5, 2010
Nicola's patch incorporates very nicely into 1.4.4 - the code she put in 1.4.3 slides into the exact same places.
Feb 5, 2010
Issue 317 has been merged into this issue.
Feb 5, 2010
Issue 323 has been merged into this issue.
Feb 6, 2010
i was hoping to get this officially into 1.4.4, but ran out of time. this will be in the next release. thanks everyone
Feb 21, 2010
ok, this is officially in 1.4.5 (just released). its called "lazyFetching" http://arshaw.com/fullcalendar/docs/event_data/lazyFetching/ set it to false to make it refetch every time thanks for the work and the suggestions!
Status:
Fixed
Aug 13, 2013
(No comment was entered for this change.)
Status:
Implemented
Aug 13, 2013
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |