When you edit a link, e.g. change its end item, there is no appropriate event to handle this situation. The Links.CollectionChanged event is not fired. It would be nice to have a LinkChanged event which will be fired when a link is modified similar to the ItemChanged event for the tasks. Workaround: foreach (GanttViewLinkDataItem link in this.radGanttView1.Links) { link.PropertyChanged += link_PropertyChanged; } private void link_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == "EndItem") { } }
Workaround: create custom GanttViewTimelineItemElement with special layout arranging the elements in depending on their parent`s final size. The attached project features a possible implementation.
This event should be fired when a task is modified either by the graphical view or by the columns on the left side. In the arguments you should have access to the changed property.
Currently users are not able to create custom item elements for the gantt view timeline.
Improve the way to format easily summary task. Currently you need to cast all elements of summary element to change the BackColor. Resolution: There are three properties added to GanttViewSummaryElement which allow access to the inner elements: LeftElement, MiddleElement and RightElement. Please take a look at the code example: private void radGanttView1_GraphicalViewItemFormatting(object sender, GanttViewGraphicalViewItemFormattingEventArgs e) { GanttViewSummaryItemElement element = e.ItemElement as GanttViewSummaryItemElement; if (element != null) { GanttViewSummaryElement summary = element.TaskElement as GanttViewSummaryElement; summary.LeftElement.BackColor = Color.Blue; summary.RightElement.BackColor = Color.Blue; summary.MiddleElement.BackColor = Color.LightGreen; summary.ProgressIndicatorElement.BackColor = Color.Red; } }
Description: Show context menu in RadGanttView (to enable adding, deleting tasks and setting progress) not only for the GraphicalViewElement, but also for the TextViewElement
Add functionality of GraphicalViewElement for ScrollTo(DateTime dt)
Add formatting or a painting event allowing customization of the links in the control
For example the HandleMouseMove event can not be overridden in order to allow dragging on the Y coordinate. Also some internal methods should be exposed.
Add new timeline view which shows Time/Hours