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

Scroll ChildGridViewTemplate into View when Expanded

3 Answers 71 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 20 Oct 2009, 10:53 PM
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.

3 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 23 Oct 2009, 08:13 AM
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.
0
Tom Chien
Top achievements
Rank 1
answered on 06 Nov 2009, 09:47 PM
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?

0
Jack
Telerik team
answered on 09 Nov 2009, 11:09 AM
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.
Tags
GridView
Asked by
Tom Chien
Top achievements
Rank 1
Answers by
Jack
Telerik team
Tom Chien
Top achievements
Rank 1
Share this question
or