Issue 1749: Bug eventAfterAllRender trigger
Status:  Done
Owner: ----
Closed:  Aug 2013
Reported by floriandegenhardt85, Mar 21, 2013
there is a bug in the new Trigger

eventAfterAllRender : function() {
                console.log("finish");
            }

if i remove Events or EventSources and add new EventsSource, then the trigger runs 2 times.





Aug 24, 2013
Project Member #1 adamrs...@gmail.com
the rendering will happen after any event that modifies event data. in your case, the event rendering will happen upon removing AND the adding, twice. This is expected behavior.

Making some type of "optimization" to group rerenders would be very hairy to implement and might lead to unexpected behavior for others.

The rerender itself shouldn't be that expensive. You should just probably do whatever custom actions you need to do to events within the `eventRender` callback, then undo them in the `eventDestroy` callback (new in 1.6.3). hopefully this helps.
Status: Done