Basically i need to combine the ability to display multiple events or GanttTasks on a single line and at the same time to set different colors depending on task-'type'. The SDK Samples contain both options (SameRowRecurringTask, TasksWithDifferentColors).
I encountered following issues trying to combine the abilities:
- I have implemented different colors, but when i try to combine it with the recurrence on the same line, the coloring of the single tasks isn't displayed anymore.
- The SDK sample adds the Recurrences this way Recurrences = { recurrenceTask1, recurrenceTask2, recurrenceTask3 }. But i need to compose them at runtime like collect them within a foreach and then define the recurrences like Recurrences = myTaskList.
The attached image shows what i need.