Home Forums FlexGanttFX Redraw calendar activites on a row

  • Author
    Posts
  • Martin
    Participant
    Post count: 8
    #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
    Keymaster
    Post count: 61
    #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.

You must be logged in to reply to this topic.