Sha256: 5fdf98b11aee370febed8fba0d390a711c4dddbeef5b0c5a1ad42a882cb3a5c8
Contents?: true
Size: 592 Bytes
Versions: 7
Compression:
Stored size: 592 Bytes
Contents
--- title: openNode name: functions-opennode --- **function openNode(node);** **function openNode(node, slide);** Open this node. The node must have child nodes. Parameter **slide**: open the node using a slide animation (default is true). {% highlight js %} // create tree var $tree = $('#tree1'); $tree.tree({ data: data }); var node = $tree.tree('getNodeById', 123); $tree.tree('openNode', node); {% endhighlight %} To open the node without the slide animation, call with **slide** parameter is false. {% highlight js %} $tree.tree('openNode', node, false); {% endhighlight %}
Version data entries
7 entries across 7 versions & 1 rubygems