Announcement

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

    Changing Timeline's CalendarEvent style

    Hi,

    We're trying to implement selected event in Timeline.

    Basically, the idea is to have 2 styles: regular event and selected, and in Calendar.addEventClickHandler we want to switch the style of existing CalendarEvent

    However, it looks like after initial setting of event style during CalendarEvent creation all consequent calls to: CalendarEvent.setStyleName followed by Calendar.refreshEvent have no impact.

    Is this supported and if not is there another way to achieve what we need?

    Thanks!

    -sarkis

    #2
    Use setEventStyle().

    Comment


      #3
      That works, thank you!

      Comment

      Working...
      X