Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1015
Using StartDateTime and EndDateTime for tasks rather than relying on Duration
posted

Hello all,

I'm using an Ultra Gantt View to function as a scheduling tool within a custom project management system. As it stands right now, our "tasks" have differing levels of priority, so all high priority tasks must be completed before lower priority tasks can be completed, etc. We are also trying to calculate, based on the assigned start date given by the user, what the end date of that individual task will be. That calculated end date would serve as the start date for the next task, and so on, so that we get a birds-eye view of how long it would take to complete all the "tasks" for the "project".

We chose the Ultra Gantt View over the Ultra Schedule or Ultra Timeline View, for dependencies functionality, as well as overall visualization. I realize that either of these options may better serve my purposes of "scheduling", but this is currently not the most ideal option for our uses.

However, after reading the documentation on the Ultra Gantt View, we ran into a little snag concerning the favoring of Duration over StartDateTime and EndDateTime, based on this:

"When a value is assigned to the EndDateTime property, the current value of the Duration property is subtracted from the assigned value, and the StartDateTime property is assigned the result of that subtraction. To extend the end date/time of a task without affecting the start date/time, assign the desired value to the Duration property."

From the Infragistics documentation shown here: http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Infragistics2.Win.UltraWinSchedule.v11.1~Infragistics.Win.UltraWinSchedule.Task~EndDateTime.html

My question is: Is there any way to have the UltraGanttView ignore this reliance and let the task's duration pivot on the StartDateTime and EndDateTime, rather than the other way around?

Thanks...