Scheduler: Multiple Tasks Per Row Where ViewMode=Gantt
13 years ago.
I'm using the DayPilot Pro Scheduler control as a Gantt chart.
In addition to showing Pct Complete, I need to represent tasks that exceed the estimated effort by breaking out the estimated effort vs. the overage.
For lack of a better idea, I attempted to split tasks that exceed the estimate into two (identical) tasks that will appear one after the other on the same row: the first has a duration of the estimated effort and the second has a duration of the overage.
If you look at the attachment, you can see the results. The good news is that in the case of Test Assignment and Test Assignment #2 (see Note 1 in the attachment), the tasks are correctly rendered. The bad news is there are two rows for each of these split tasks and in both cases, the scond row shows no bar.
Another issue is that in the case where there is an overage, I'd like to make the color of the portion of the task that is the estimated effort green and the color of the overage portion red. If you look at Note 2 in the attachment, they both go to red. When I break in BeforeEventRender() at the point where I check if it is an overage or not, the first time e.CssClass is null and I set it to the green class. The second time it is set to the green class and I make it red; it seems to be setting the css class on both events to the same color.
I've also attached a text file of the pertinant code.
Any light you can shed on this would be appreciated.
Thanks!
DayPilot