Approved
Last Updated: 20 Mar 2019 08:49 by ADMIN
Valeriane
Created on: 19 Mar 2019 17:18
Category: GanttView
Type: Feature Request
1
RadGanttView: Scroll automatic horizontal on column hidden

Hey !

I need to know if you plan the development of a new function :

When you are in the list of your tasks, i want to navigate with the keyboard. 

Im' Here :

 

And when i navigate in the list with the keyboard, i need to see the last column on the same task :

The focus is good but the horizontal scrollBar is on the same place and we can't the the all value of the cell.

Can we plan the improvment ? Or do you have a clean solution?

 

If you need more informations,

don't hesitate to contact me

Regards,

Valériane 

 

1 comment
ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 20 Mar 2019 08:49
Hello, Valériane,

The described behavior sounds reasonable. I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

Currently, the possible solution that I can suggest is to create a custom BaseGanttViewBehavior and handle the left/right keys. Then, just scroll to the current column. You can find below a sample code snippet which result is illustrated in the attached gif file:

public RadForm1()
{
    InitializeComponent();
 
    this.radGanttView1.GanttViewBehavior = new CustomGanttViewBehavior();
}
 
public class CustomGanttViewBehavior : BaseGanttViewBehavior
{
    public override bool ProcessRightKey(KeyEventArgs e)
    {
        bool result = base.ProcessRightKey(e);
 
        this.GanttViewElement.TextViewElement.ColumnScroller.ScrollToItem(this.GanttViewElement.CurrentColumn, true);
        return result;
    }
 
    public override bool ProcessLeftKey(KeyEventArgs e)
    {
        bool result = base.ProcessLeftKey(e);
        this.GanttViewElement.TextViewElement.ColumnScroller.ScrollToItem(this.GanttViewElement.CurrentColumn, true);
        return result;
    }
}

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Attached Files: