Selection by Keyboard

2 posts, 1 answers
  1. manuele
    manuele avatar
    22 posts
    Member since:
    Oct 2010

    Posted 19 Mar 2015 Link to this post

       is it possibile to scroll the pivotgrid using the keyboard?

    Thanks a lot

  2. Answer
    Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4169 posts

    Posted 23 Mar 2015 Link to this post

    Hello Manuele,

    Thank you for writing.

    Your question has already been answered in the support thread you have opened on the same topic. However, I posting the reply here as well as the community can benefit from it. In order to scroll the RadPivotGrid by using the keyboard, you should subscribe to the KeyDown and manipulate the PivotGridElement.VScrollBar.Value property:
    this.radPivotGrid1.PivotGridElement.KeyDown += PivotGridElement_KeyDown;

    private void PivotGridElement_KeyDown(object sender, KeyEventArgs e)
        if (e.KeyCode == Keys.Down)
            dynamic scrollBar = radPivotGrid1.PivotGridElement.VScrollBar;
            if (scrollBar.Value < scrollBar.Maximum - scrollBar.LargeChange)
                radPivotGrid1.PivotGridElement.VScrollBar.Value += 10;
        if (e.KeyCode == Keys.Up)
            dynamic scrollBar = radPivotGrid1.PivotGridElement.VScrollBar;
            if (scrollBar.Value > 0)
                radPivotGrid1.PivotGridElement.VScrollBar.Value -= 10;

    However, navigating the selection with the keyboard is not supported. It is a reasonable request. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - feedback item

    I hope this information helps. Should you have further questions, I would be glad to help.

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top