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

Enter Key Not Toggling ChildView Expansion / Collapse Unless Previously Expanded

1 Answer 102 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tom Chien
Top achievements
Rank 1
Tom Chien asked on 03 Nov 2009, 08:48 PM
1. I like to submit a "bug report" that the Enter Key is not toggling expansion / collapse of the ChildGridViewTemplates of the CurrentRow unless they were previously expanded since the RadGridView has been opened.  In cases where it's not toggling, it's passed to RadGridView's KeyDown Event.  In cases where it is, it's passed to BaseGridBehavior's undocumented, Override-able ProcessKey Function.

2. I like to submit a "feature request" that an option be added to turn on / off the ChildView expansion / collapse behavior of the Enter Key.  When "on", it would always toggle expansion / collapse regardless of whether a Row was previously expanded.  When "off", it would do nothing except be passed to RadGridView's KeyDown Event.  a. The use of the Left and Right keys to expand / collapse a hierarchical / tree-like list are much more universal (see Windows Explorer, Outlook, VS, SSMS) where as the only place I could find the Enter Key key being used that way is the the Solution / Property Explorers in MS' VS and SSMS (not exactly common software for end-users) (1).  b. the Enter Key is commonly used for other purposes (i.e. selecting / opening an item) even in hierarchical / tree-style lists.  c. To override the Enter Key, I have to use the more difficult / non-intuitive method of overriding the GridBehavior Property vs. KeyDown Event.

(1) http://www.telerik.com/community/forums/winforms/gridview/expand-colllapse-master-parent-childgridviewtemplates-programmatically-in-radgridview.aspx

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 05 Nov 2009, 08:47 AM
Hi Tom,

Yes, I confirm the issue and this is a very good suggestion. I updated your Telerik points and we will consider changing RadGridView behavior when planning the next release. Should you have any questions, feel free to ask.

Best wishes,
Jack
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Tom Chien
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or