Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • claudiobosticco
    replied
    Hello, thanks for the clarification.
    In my use case, there are event attributes that change after updating fields that are included in the event because they are part of a join. I actually tried refreshEvent() because it seemed to me that updateCaches() had no effect, but I just tried again, and it works, so I must have been doing something wrong earlier.
    So my use case is solved, without need to call refreshEvent().

    Leave a comment:


  • Isomorphic
    replied
    hi Claudio,

    Right now, refreshEvent() only has an effect in views which use eventCanvas instances - so, all but MonthView. It finds the associated canvas in the current view, calls setEvent() on it and then marks it for a redraw.

    We may need to cover that in the docs; however, It isn't clear how you get into a situation where a link needs to be refreshed - for example, if you modified an event with updateCalendarEvent(), the MonthView should update automatically.

    Can you perhaps show sample code?

    Leave a comment:


  • claudiobosticco
    started a topic question about Calendar.refreshEvent()

    question about Calendar.refreshEvent()

    Hello, I just want to ask if is it expected that Calendar.refreshEvent() doesn't do anything in the monthView (I was expecting it to refresh the event link)?
Working...
X