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

GridView header keyboard usage

3 Answers 48 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Antti
Top achievements
Rank 1
Antti asked on 21 Nov 2011, 12:43 PM
Hi,

I would like to ask about how RadGridView handles keyboard usage in relation to column header. Is there a way to:

1) get keyborad focus to column headers?
2) resize or sort columns through keyboard?
3) get keyboard focus to funnel-icons?
4) filter column through keyboard?

Regards,
Antti

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 21 Nov 2011, 12:50 PM
Hi Antti,

 
You may predefine the default keyboard behavior through implementing your own CustomKeyboardCommandProvider. From the following forum thread you may see how this can be applied to GridViewHeaderCells.


Will you please take a look at this thread and let me know how this works for you? 



All the best,
Vanya Pavlova
the Telerik team

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

0
Antti
Top achievements
Rank 1
answered on 21 Nov 2011, 01:05 PM
Hi,

My main problem is that column header cell and funnel icon seem to reject all tab navigation even if their IsTabStop properties are set to true. Is there a way to get them to get keyboard focus?

In relation to my other problems, I can see that the provided link helps in defining new shortcuts to pre-defined commands, such as:
  • BeginInsert, Delete, etc.

However,  I cannot see a way to add new commandssuch as Sort, Filter, etc.. Is adding new commands possible?

Regards,
Antti

0
Vanya Pavlova
Telerik team
answered on 21 Nov 2011, 01:13 PM
Hi Antti,

 
The example from the previosly referenced thread demonstrates how to handle navigation and sorting using the keyboard. In a similar way you may implement your own behavior for the desired functionalities.
In addition to this I am attaching you the project from this thread which you may use for further reference.




Regards,
Vanya Pavlova
the Telerik team

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

Tags
GridView
Asked by
Antti
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Antti
Top achievements
Rank 1
Share this question
or