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

Gridview Header navigation and sorting via keybord

1 Answer 41 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Orest
Top achievements
Rank 1
Orest asked on 29 Apr 2011, 07:39 PM
I'm trying to implement keyboard navigation in gridview header row(auto generate columns are used).

The default behavior of gridview is following: when grid obtains focus, the first cell of the first data row is focused and cells in header row are ignored( gridview header row does not participate in tab navigation).

Is there any way to obtain focus by header row cells, navigate through them using keyboard(Tab & Shift-Tab, arrows) and sort data using other keys(Space or Enter)?

Regards,
Orest

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 02 May 2011, 10:38 AM
Hi Orest,

I have prepared an example project for you. The navigation between the GridViewHeaderCells is carried out by pressing the Ctrl key, and the sorting  - by pressing the Space key. Feel free to customize this solution to fit you needs best.

Regards,
Ivan Ivanov
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Orest
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or