Home Forums FlexGanttFX Redraw calendar activites on a row

Viewing 1 reply thread
  • Author
    • Martin
      Post count: 10
      #13071 |

      I’m adding a calendar to a row (row.getCalendars().add(myCalendar), myCalendar is extended from CalendarBase and getActivities() is implemented).
      Later I’m addind activities to this calendar.
      New activities are drawn in gantt when I move the mouse on this row.
      What to I have to call that calendar activites are drawn immediately?

    • Dirk Lemmermann
      Post count: 69
      #13072 |

      You can call gantt.getGraphics().redraw() for now. Ideally the UI cell that shows the row with its calendars should be listening to the calendars for changes and trigger the redraw itself. I will investigate this and might add a ticket for this bug / improvement.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.