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

Scrolling a splitter pane

2 Answers 209 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Jan Erik
Top achievements
Rank 2
Jan Erik asked on 08 May 2012, 09:12 AM
Hi,

I have a treeview in a splitter pane with a breadcrumb above it. When I click a breadcrumb it navigates to that point in the tree and collapses that node. This will however cause the selected treeview node to be out of sight in the splitter pane. Is there a way for me to scroll the splitter pane so that the selected treeview node is displayed?

Thanks,
Jan Erik

2 Answers, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 08 May 2012, 09:33 AM
Hello Jan,

You can use the DOM scrollIntoView method, or if you want to achieve a better effect -- the jQuery scrollTo plug-in.

Greetings,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jan Erik
Top achievements
Rank 2
answered on 08 May 2012, 09:44 AM
Worked nicely, thank you.

Regards,
Jan Erik
Tags
Splitter
Asked by
Jan Erik
Top achievements
Rank 2
Answers by
Alex Gyoshev
Telerik team
Jan Erik
Top achievements
Rank 2
Share this question
or