Is it possible use the mouse (drag and drop) to create a dependency on the gantt chart?
Hello estatemaster,
I`m not sure what is your final goal, but I would like to inform you that we still have not such kind functionality in our UltraGanttChart. Our GanttChart just represent the data that you provide to chart`s DataSource. Maybe you could used UltraGanttView control instead of GanttChart ? More details about UltraGanttView you could find at:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/WinGanttView.html
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/WinGanttView_Custom_Columns.html
Nevertheless, you could achieve desired funationality with GanttChart (of course it is very custom approach and maybe you may encounter some difficulties). You could handle FillSceneGraph event and using Primitive to drawn you custom dependency between two Tasks.
Let me know if you have any questions or if you think that I misunderstood your scenario.
Regards
Have you been able to resolve your issue ? If you still have any concerns or questions I will be glad to help. If you need any additional assistance don’t hesitate to ask.
Hi,
I made small sample for you. Could you please take a look at the attached sample and video file for more details and let me know if you have any questions.
2845.Video233.rar
7242.UltraGanttViewDragDependency.zip
HI,
Thanks for the video. That looks like it may do what i need it to do.
Thanks
If you have any questions regarding attached sample, please do not hesitate to write me
If i want to create a dependency between the top task and the bottom task it creates a dependency between the top tasks and the middle tasks. Is there a way around this?
Before Dependency
After Dependency
I made some changes to your code and it seems to work the way i want now.
Thanks there is no exception now.
Thanks for the video. Could you please tr to extend the IF condition. For example:
if (newTask != startTask && newTask != null && startTask != null) newTask.Dependencies.Add(startTask, TaskDependencyType.FinishToStart);
Let me know if you have any questions.
Here is a video of what i done
http://screencast.com/t/d0tJXOqk
Could you please give me the steps to reproduce this case.
If i right click on the task after creating a predecessor i get this error.