This is a migrated thread and some comments may be shown as answers.

Use Up Down Keys to Move on RadGridView

1 Answer 231 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Harlan
Top achievements
Rank 1
Harlan asked on 21 May 2015, 03:03 AM

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?

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 22 May 2015, 10:27 AM
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
Tags
GridView
Asked by
Harlan
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or