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

Scroll row into view

2 Answers 4 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 03 Jul 2014, 09:21 AM
Hi - I have implemented a rudimentary 'search' function for my TreeList and cal select the required row server side but it does not seem to be possible so far to force the row to scroll into view.  Is there a way to do this as it is available in the treeView but not the TreeList it seems.

2 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 08 Jul 2014, 08:16 AM
Hello Chris,

I am attaching a sample project that illustrates the approach you could use to scroll the RadTreeList to certain item. In the client-side Click event of a button the selected item is scrolled into view.

You could use similar approach in your scenario - set the item that is found as selected and scroll the RadTreeList so that it is displayed.

Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Chris
Top achievements
Rank 1
answered on 15 Jul 2014, 02:09 PM
Thanks works well...
Tags
TreeList
Asked by
Chris
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Chris
Top achievements
Rank 1
Share this question
or