Use Up Down Keys to Move on RadGridView

2 posts, 0 answers
  1. Harlan
    Harlan avatar
    19 posts
    Member since:
    Dec 2014

    Posted 20 May 2015 Link to this post

    I'm trying to implement Excel-like behavior on an editable RadGridView. I need to be able to use the arrow up and down keys to move up and down the rows, staying in the same field/textbox.

     I've looked all over the internet and forums to see how to do this and I can't find any good information on it. I tried setting up the CustomKeyboardCommandProvider class but that didn't work. It appears that by default the Tab and Enter keys have commands attached to them but not the arrow keys.

     Can someone point me in the right direction?

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 22 May 2015 Link to this post

    Hello,

    You can find the following code library on Keyboard navigation for GridView.
     
    Please note there is the following style applied in the code library:
    <Style TargetType="GridView:GridViewRow">
       <Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
    </Style>

    You can comment it to have the behavior over all cells.

    Regards,
    Dimitrina
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top