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

Using Keystrokes on Grid

1 Answer 76 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nick
Top achievements
Rank 1
Nick asked on 01 Sep 2011, 11:30 AM
Hello,

I'd like the grid to be as much keyboard driven as possible for navigate and data entry.

I have two problems.

1. When on a CheckBox cell I'd like the enter key to be used as a toggle for checked/unchecked.
2. When on the Collapse/Expand cell of a hierarchy I'd like Enter to toggle Expand/Collapsed.

Is there a way to achieve this without having to resort to events.  Can it be done through attached behaviours and does anyone have a sample for this examples.

Cheers,

Nick

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 03 Sep 2011, 09:29 AM
Hello Nick,

Since the hierarchy column cells are not accessible through keyboard navigation, I presume that you had the GridViewToggleRowDetailsColumn in mind. I have prepared an example project for you. I am attaching it for your reference.

Kind regards,
Ivan Ivanov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
GridView
Asked by
Nick
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or