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

Hierarchy scroll down on expanded client side

5 Answers 126 Views
Grid
This is a migrated thread and some comments may be shown as answers.
OPL
Top achievements
Rank 1
OPL asked on 22 Aug 2011, 09:49 AM
Hi All,

Is there a way to focus on detail table on hierarchy expand with hierarchymode = client.

When i expand, i have to scrolldown manualy in order to see my detail table.

It's ok with server or ondemand mode.

See my screenshot

Thanks




5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 22 Aug 2011, 11:14 AM
Hello,

You could achieve this by attaching OnHierarchyExpanded client event and set the position of the expanded item.

You can find more information on this for the following help article.
Scrolling to the Selected Item.

Thanks,
Shinu.
0
OPL
Top achievements
Rank 1
answered on 22 Aug 2011, 02:17 PM
Hi Shinu,

i've tried your example but it always bring me back to the top of the grid.

thanks

OPL
0
OPL
Top achievements
Rank 1
answered on 25 Aug 2011, 10:09 AM
anybody ?
0
Accepted
Galin
Telerik team
answered on 25 Aug 2011, 03:01 PM
Hi Opl,

I suggest you to ajaxify the RadGrid as in our demo. Perhaps this is the easiest way to achieve your goal.

Also I modified the suggestion of Shinu, and it works as is expected, could you check it out the project in attached file?

Greetings,
Galin
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 >>

0
OPL
Top achievements
Rank 1
answered on 05 Sep 2011, 07:52 AM
Thks a lot Galin,

Your modification do the the job.

OPL
Tags
Grid
Asked by
OPL
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
OPL
Top achievements
Rank 1
Galin
Telerik team
Share this question
or