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

Filtering with keyboard

3 Answers 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 05 May 2009, 11:20 PM
Hi

I am trying to setup a grid so that a user can filter using the keyboard.
Currently, if the user tabs to a filter control and hits the enter key the filter menu opens in the top left corner of the screen:

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx

Is it possible to have the menu open next to the filter button?

Cheers
Aaron

3 Answers, 1 is accepted

Sort by
0
Todd Anglin
Top achievements
Rank 2
answered on 06 May 2009, 03:30 AM
Aaron-

Check out this forum thread:


It has a lot of great advice and code snippets for implementing keyboard support for filtering in RadGrid. Try the advice there and let me know if that helps.

UPDATE: Also, don't miss this great Code LIbrary project that shows keyboard filtering:

-Todd
0
Aaron
Top achievements
Rank 1
answered on 06 May 2009, 03:45 AM
Thanks Todd

The first link I had already seen and I am using the first bit of code to enable the enter key to open the menu.

I downloaded the project from the web library, the problem still exists with that code. Although the menu appears to open where you have left the cursor rather than at the top left of screen.

Cheers
Aaron
0
Iana Tsolova
Telerik team
answered on 07 May 2009, 01:15 PM
Hello Aaron,

I am afraid this is how RadContextMenu behaves. In order to show it at the desired position, you can try opening it with the showAt() client-side method as demonstrated here.

I hope this helps.

Sincerely yours,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Aaron
Top achievements
Rank 1
Answers by
Todd Anglin
Top achievements
Rank 2
Aaron
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or