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
55
How do I add 2 unique GanttTimeEntries to the same GanttItem?
posted

Based upon requirements I have, I need to basically have more than 1 GanttTimeEntry for a given GanttItem.  Following is a screenshot of what I have now:

And here is where I need to be:

 

Thanks in advance, and please let me know if you need any additional information.

Parents
No Data
Reply
  • 37874
    posted

    Hello jrw4514,

    Thank you for posting in the community.

    You could add multiple GanttTimeEntries using code, similar to the following:

            GanttItem gi = new GanttItem();

            GanttTimeEntry gte1 = new GanttTimeEntry();

            GanttTimeEntry gte2 = new GanttTimeEntry();

            gi.Times.Add(gte1);

            gi.Times.Add(gte2);

    Please let me know if this helps.

     

Children