Scroll ChildGridViewTemplate into View when Expanded

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

    Posted 20 Oct 2009 Link to this post

    When expanding a Child GridViewTemplate from a ParentRow that's not the 1st Row in the current visible RadGridView window and that Child GridViewTemplate has more Rows than will fit in the visible portion of the RadGridView window below that ParentRow, I'd like the option to scroll the Child GridViewTemplate up so that its first Row (or maybe its ParentRow) is the 1st Row shown in the RadGridView window almost like what I would call a "Maximize Child GridViewTemplate" option.  How could I do that?

    Telerik 2009Q3 Beta (2009.2.9.1016) / 2009Q2 (2009.2.9.729), VS 2005 (v8.0.50727.762 SP.050727-7600), XP SP3 on Core2Duo 2.99GHZ with 3GB.
  2. Jack
    Admin
    Jack avatar
    2333 posts

    Posted 23 Oct 2009 Link to this post

    Hi Tom,

    That's an interesting feature. However, currently this is not possible. I will speak with the developers about it.

    Kind regards,
    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
  4. Tom Chien
    Tom Chien avatar
    125 posts
    Member since:
    Jun 2009

    Posted 06 Nov 2009 Link to this post

    1. Any word from the developers?

    2. I just noticed that Windows Explorer actually has this feature.  In the Folders Pane, If you expand a Folder (A) whose sub-Folders would not all be in view, it scrolls the Folders Tree View down (such that the tree slides up) until all the sub-Folders are in view or Folder A is at the top of the view, whichever comes first.  That's exactly the feature I need.

    3. Is there a scroll grid method?  If not, could I simulate it by just moving the CurrentRow down and then back up to the original Row I was expanding?

  5. Jack
    Admin
    Jack avatar
    2333 posts

    Posted 09 Nov 2009 Link to this post

    Hi Tom Chien,

    Thank you for this clarification. Now I understand the requirement. Maybe you can use EnsureVisible method for the row that you want to make visible:

    Me.RadGridView1.CurrentRow.EnsureVisible()

    However, the child view should be expanded before calling the method for a child row. Nevertheless, your feature is in our TODO list and will be considered when developing our upcoming releases.

    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.
Back to Top