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

Keyboard quick jump

1 Answer 34 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Murray
Top achievements
Rank 2
Murray asked on 17 Nov 2011, 02:29 PM
Is there a way to use your keyboard to quick jump to the first record starting with the character you press?

I want to preselect which data column to choose from, and (for eg) select "J" on my keyboard and jump to the first record that starts with "J".

Thanks
Murray

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 17 Nov 2011, 04:37 PM
Hi Murray,

 You may predefine the behavior of the default keyboard command provider. Please take a look at this blog post for a reference. If would like to press the 'J' key and have some custom logic executed on the RadGridView, then you may create your own custom Command and use it when 'J' is pressed:

if(key == Key.J)
{
               commandsToExecute.Clear();
               commandsToExecute.Add(new CustomCommand() { ... });
}

Please let me know if you have any further questions.
All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Murray
Top achievements
Rank 2
Answers by
Dimitrina
Telerik team
Share this question
or