| Issue 1104: | viewDisplay should always be called before eventRender | |
| 2 people starred this issue and may be notified of changes. | Back to list |
viewDisplay gets called when the date range changes, but this gets fired last after all other events have fired. This makes it significantly less useful for setting u data structures prior to other events. Here's my situation. I do some processing of the calendar to figure out which dates correspond with which table cells. I only want to do this once every time the date range canges. In eventRender, i rely on this data to render my events. I see no other way to reliably get called when the date range changes, but before eventRender.
Sep 6, 2011
#1
dan.mof...@gmail.com
Sep 6, 2011
Strangely, or maybe not so.. viewDisplay gets called first when using json. Probably because the events are lazy loaded. Perhaps if array events were likewise loaded lazily, then event firing order would not seem random.
Sep 29, 2011
yeah, if there is ajax to fetch events, viewDisplay will get called before the eventRender's. if it is a normal array, other way around. i think it should be consistent. viewRender should always be called before. will make this change
Summary:
viewDisplay should always be called before eventRender
Status: Accepted
Aug 13, 2013
as of 1.6.3, viewRender (formerly viewDisplay) always gets called before events being rendered.
Status:
Released
Labels: Type-BehaviorMod |
|
| ► Sign in to add a comment |