Hi,
I've combined the first two Gantt examples (Essential Gantt and Project Scheduler) so that I can populate items from a view model, and also add/insert/delete items.
The
ViewModel.GetTaskDetails() method is called from the view model and items are added as expected (image View.png).
However, when it comes to using the
InsertTask command, the
GanttControl.Model.InbuiltTaskCollection is empty (image Code.png)!
I have attached two images to show the data displayed, and then the empty
InbuiltTaskCollection after the
AddTaskCommand is clicked.
Why is the collection empty? Should I be using a different collection to add the new item to because i am populating from the view model, rather than from Xml?
I cannot find any information on
InbuiltTaskCollection anywhere!
Many thanks,
James.
Attachment:
InbuiltTaskCollection_3fb6bfc3.rar