Completed
Last Updated: 10 Nov 2014 12:26 by ADMIN
To reproduce: use the following code snippet and perform the described steps below:

Sub New()
    InitializeComponent()

    PopulateData()
End Sub

Private Sub PopulateData()

    Dim tasks As New DataTable("Tasks")
    tasks.Columns.Add("Id", GetType(Integer))
    tasks.Columns.Add("ParentId", GetType(Integer))
    tasks.Columns.Add("Title", GetType(String))
    tasks.Columns.Add("Start", GetType(DateTime))
    tasks.Columns.Add("End", GetType(DateTime))
    tasks.Columns.Add("Progress", GetType(Decimal))

    Dim links As New DataTable("Links")
    links.Columns.Add("StartId", GetType(Integer))
    links.Columns.Add("EndId", GetType(Integer))
    links.Columns.Add("LinkType", GetType(Integer))

    Dim data As New DataSet()
    data.Tables.Add(tasks)
    data.Tables.Add(links)

    tasks.Rows.Add(1, 0, "Summary task title", New DateTime(2010, 10, 10), New DateTime(2010, 10, 15), 30D)
    tasks.Rows.Add(2, 1, "First child task title", New DateTime(2010, 10, 10), New DateTime(2010, 10, 12), 10)
    tasks.Rows.Add(3, 1, "Second child task title", New DateTime(2010, 10, 12), New DateTime(2010, 10, 15), 20D)
    tasks.Rows.Add(4, 1, "Milestone", New DateTime(2010, 10, 15), New DateTime(2010, 10, 15), 0D)

    links.Rows.Add(2, 3, 1)
    links.Rows.Add(3, 4, 1)

    Me.RadGanttView1.GanttViewElement.TaskDataMember = "Tasks"
    Me.RadGanttView1.GanttViewElement.ChildMember = "Id"
    Me.RadGanttView1.GanttViewElement.ParentMember = "ParentId"
    Me.RadGanttView1.GanttViewElement.TitleMember = "Title"
    Me.RadGanttView1.GanttViewElement.StartMember = "Start"
    Me.RadGanttView1.GanttViewElement.EndMember = "End"
    Me.RadGanttView1.GanttViewElement.ProgressMember = "Progress"
    Me.RadGanttView1.GanttViewElement.LinkDataMember = "Links"
    Me.RadGanttView1.GanttViewElement.LinkStartMember = "StartId"
    Me.RadGanttView1.GanttViewElement.LinkEndMember = "EndId"
    Me.RadGanttView1.GanttViewElement.LinkTypeMember = "LinkType"

    Me.RadGanttView1.GanttViewElement.DataSource = data

    Me.RadGanttView1.Columns.Clear()
    Me.RadGanttView1.Columns.Add("Start")
    Me.RadGanttView1.Columns.Add("End")
    Me.RadGanttView1.GanttViewElement.GraphicalViewElement.TimelineStart = New DateTime(2010, 10, 9)
    Me.RadGanttView1.GanttViewElement.GraphicalViewElement.TimelineEnd = New DateTime(2010, 12, 10)
End Sub

Private Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click
    Dim selected = Me.RadGanttView1.SelectedItem.Title

    Me.RadGanttView1.DataSource = Nothing
    PopulateData()

    Dim result = FindDataItem(selected, Me.RadGanttView1.Items)

    If result IsNot Nothing Then
        Me.RadGanttView1.SelectedItem = result
    End If
End Sub

Dim found = Nothing
Private Function FindDataItem(selected As String, items As GanttViewDataItemCollection) As GanttViewDataItem

    For Each item As GanttViewDataItem In items
        If item.Title = selected Then
            Return item
        End If

        Dim itm As GanttViewDataItem = FindDataItem(selected, item.Items)

        If itm IsNot Nothing Then
            Return itm
        End If
    Next
    Return Nothing
End Function

1.Select a random task item
2.Click the button to rebind and restore the selection
As a result you will encounter a NullReferenceException.

Workaround: set the SelectedItem property to null/Nothing before rebinding
Completed
Last Updated: 15 Sep 2014 08:35 by ADMIN
1. Set up a RadGanttView with some data

2. Do not add any columns

3. Run the project and press the Left or Right Arrow key. An IndexOutOfRange exception will be thrown.
Completed
Last Updated: 09 Sep 2014 09:36 by ADMIN
Steps to reproduce:

1. Add six items to a RadGanttView

2. Start reducing the height of the gantt view

You will notice that the vertical scroll bar does not appear until two of the items are hidden. Before that the hidden items cannot be scrolled to.
Completed
Last Updated: 29 Sep 2014 09:07 by ADMIN
To reproduce: add a RadGanttView and populate it with data. Use the  GraphicalViewItemFormatting event in order to change the e.ItemElement.TaskElement.Text. However, the changes are not applied.

Workaround:
 private void radGanttView1_GraphicalViewItemFormatting(object sender, GanttViewGraphicalViewItemFormattingEventArgs e)
 {
     e.ItemElement.Tag = "Custom text";
 }

 public class CustomRadGanttView : RadGanttView
 {
     protected override RadGanttViewElement CreateGanttViewElement()
     {
         return new CustomRadGanttViewElement();
     }

     public override string ThemeClassName  
     { 
         get 
         { 
             return typeof(RadGanttView).FullName;  
         }
     }
 }

 public class CustomRadGanttViewElement : RadGanttViewElement
 {
     public CustomRadGanttViewElement()
     {
     }

     protected override Type ThemeEffectiveType     
     { 
         get    
         { 
             return typeof(RadGanttViewElement);     
         }
     }
     
     protected override GanttViewGraphicalViewElement CreateGraphicalViewElement(RadGanttViewElement ganttView)
     {
         return new CustomGanttViewGraphicalViewElement(ganttView);
     }
 }

 public class CustomGanttViewGraphicalViewElement : GanttViewGraphicalViewElement
 {
     public CustomGanttViewGraphicalViewElement(RadGanttViewElement ganttView) : base(ganttView)
     {
     }

     protected override Type ThemeEffectiveType     
     { 
         get    
         { 
             return typeof(GanttViewGraphicalViewElement);     
         }
     }
     
     protected override IVirtualizedElementProvider<GanttViewDataItem> CreateElementProvider()
     {
         return new CustomGanttViewVirtualizedElementProvider(this);
     }
 }

 public class CustomGanttViewVirtualizedElementProvider : GanttViewVirtualizedElementProvider
 {
     public CustomGanttViewVirtualizedElementProvider(GanttViewBaseViewElement owner) : base(owner)
     {
     }

     public override IVirtualizedElement<GanttViewDataItem> CreateElement(GanttViewDataItem data, object context)
     {
         IVirtualizedElement<GanttViewDataItem> taskElement = base.CreateElement(data, context) ;
         if (taskElement is GanttViewTaskItemElement)
         {
             FieldInfo fi = typeof(GanttViewVirtualizedElementProvider).GetField("owner", BindingFlags.NonPublic | BindingFlags.Instance);
             GanttViewBaseViewElement owner = fi.GetValue(this) as GanttViewBaseViewElement ;
               
             return new CustomGanttViewTaskItemElement(owner as GanttViewGraphicalViewElement);
         }

         return taskElement;
     }
 }

 public class CustomGanttViewTaskItemElement:GanttViewTaskItemElement
 {
     public CustomGanttViewTaskItemElement(GanttViewGraphicalViewElement owner) : base(owner)
     {
     }

     public override void Synchronize()
     {
         base.Synchronize();
         
         if (this.Tag != null)
         {
             this.TaskElement.Text = this.Tag.ToString();
         }
     }
 }
Completed
Last Updated: 09 Sep 2014 10:29 by ADMIN
Currently users are not able to create custom item elements for the gantt view timeline. 
Completed
Last Updated: 20 Oct 2014 14:04 by ADMIN
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;
    }
}
Completed
Last Updated: 01 Oct 2014 12:18 by ADMIN
Steps to reproduce:

1. Add a gantt view to a form and add two buttons, one for adding a new child to the selected item and one for removing the selected item.
2. Run the project and add child items to a normal task item - the item should become a summary item.
3. Remove all the child items of a summary item - it should become a normal task.
Completed
Last Updated: 07 Oct 2014 15:03 by ADMIN
To reproduce:

Add a RadGanttView to a form and set its Dock to Fill. Increase the size of the form. Add 3-4 events to the RadGanttView and start the application. Reduce the size of the form until the gantt is small enough so scrollbars should show. You will notice that the vertical scrollbars will not show.
Completed
Last Updated: 14 Oct 2014 06:11 by ADMIN
To reproduce:

Bind to an object with a property of type double. Start the application and edit that same column. End the editing process and you will see an exception that decimal cannot be converted to double.

Workaround:

Create the following custom editor:

public class MySpinEditor : GanttViewSpinEditor
{
    public override object Value
    {
        get
        {
            object value = base.Value;
            return Convert.ChangeType(value, this.ValueType);
        }
        set
        {
            base.Value = value;
        }
    }
}

Subscribe to the EditorInitialized and EditorRequired events and use the following event handlers:

void GanttViewElement_EditorInitialized(object sender, GanttViewItemEditorInitializedEventArgs e)
{
    GanttViewSpinEditor spinEditor = e.Editor as GanttViewSpinEditor;
    if (spinEditor != null)
    {
        spinEditor.ValueType = typeof(double);
    }
}


void GanttViewElement_EditorRequired(object sender, GanttViewEditorRequiredEventArgs e)
{
    if (e.EditorType == typeof(GanttViewSpinEditor))
    {
        e.EditorType = typeof(MySpinEditor);
    }
}
Completed
Last Updated: 03 Sep 2014 07:51 by ADMIN
Add a gantt populated with some data.

Increase column sizes in the text part on a way that an editor is outside the view

Scroll to the editor and open it for edit

Scroll back on a way that the editor is no longer into view => exception is thrown

Workaround: 
        radGanttView1.GanttViewElement.TextViewElement.ColumnScroller.Scrollbar.ValueChanged+=Scrollbar_ValueChanged;

        void Scrollbar_ValueChanged(object sender, EventArgs e)
        {
            radGanttView1.GanttViewElement.EndEdit();
        }
Completed
Last Updated: 29 Jul 2014 14:07 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category: GanttView
Type: Bug Report
0
When scrolling, the gantt final date for several tasks increases without any reason. If afterwards I select any task the incorrect final dates are corrected. But if I once again start to scroll, the problem shows up again.
Completed
Last Updated: 11 Feb 2014 13:59 by ADMIN
To reproduce have a button with this handler: 
 private void rbtnRemoveTasks_Click(object sender, EventArgs e)
        {
            if (ganttView.SelectedItem != null)
            {
                if (ganttView.SelectedItem.Parent != null)
              
Completed
Last Updated: 13 Feb 2014 13:15 by ADMIN
Steps to reproduce:
1. Add a RadGanttView to a form.
2. Fill it with data.
3. Scroll up/down. Under some circumstances there is a chance that some of the items will have a wrong layout. After clicking anywhere on the graphical view the items will be placed properly.
Completed
Last Updated: 20 Oct 2014 11:59 by ADMIN
Description: Show context menu in RadGanttView (to enable adding, deleting tasks and setting progress) not only for the GraphicalViewElement, but also for the TextViewElement
Completed
Last Updated: 20 Feb 2014 15:07 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category: GanttView
Type: Feature Request
0
Add functionality of GraphicalViewElement for ScrollTo(DateTime dt)
Completed
Last Updated: 20 Mar 2014 07:52 by ADMIN
Add formatting or a painting event allowing customization of the links in the control
Completed
Last Updated: 06 Nov 2013 10:32 by ADMIN
If one applies a TypeConverter with standard values to a property, this type converter is not used to convert these standard values to and from string when they are displayed in a drop down list editor.
Completed
Last Updated: 06 Nov 2013 09:29 by ADMIN
Steps to reproduce:
1. Add a gantt view to a form.
2. Bind it to a data source with 3000 items
3. Scroll the gantt view up and down.
You will notice that the memory consumption by the project increases and the performance of the gantt view decreases.
Completed
Last Updated: 06 Nov 2013 09:09 by ADMIN
To reproduce:

Open QSF, go to GanttView, open the Settings example, go to the very last task and change the view mode to month. You will notice that the positions of the tasks are not being updated
Completed
Last Updated: 25 Oct 2013 09:14 by ADMIN
To reproduce:
Add a RadGanttView, add a single column and subscribe to the TextViewCellFormatting event. You will notice that the event is not being fired.