blob: e9ac2dcc509b4eacdf24d73f6becbd616d368d08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
title: scrollToNode
name: functions-scrolltonode
---
**function scrollToNode(node);**
Scroll to this node. This is useful if the tree is in a container div and is scrollable.
{% highlight js %}
var node = $tree.tree('getNodeById', 1);
$tree.tree('scrollToNode', node);
{% endhighlight %}
|