Enter Key Not Toggling ChildView Expansion / Collapse Unless Previously Expanded

2 posts, 0 answers
  1. Tom Chien
    Tom Chien avatar
    125 posts
    Member since:
    Jun 2009

    Posted 03 Nov 2009 Link to this post

    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
  2. Jack
    Admin
    Jack avatar
    2333 posts

    Posted 05 Nov 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top