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: 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: 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: 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: 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: 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: 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 10:29 by ADMIN
Currently users are not able to create custom item elements for the gantt view timeline. 
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: 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: 20 Mar 2014 07:52 by ADMIN
Add formatting or a painting event allowing customization of the links in the control
Completed
Last Updated: 19 Mar 2014 07:28 by ADMIN
ADMIN
Created by: Georgi I. Georgiev
Comments: 1
Category: GanttView
Type: Feature Request
0
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.
Completed
Last Updated: 20 Feb 2014 15:50 by ADMIN
ADMIN
Created by: Georgi I. Georgiev
Comments: 0
Category: GanttView
Type: Feature Request
2
Add new timeline view which shows Time/Hours
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: 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: 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: 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