Sha256: cfe17520a15aea936bd7d9bff9eb1fe057cc6ba7d212e506d52d16becc82df05

Contents?: true

Size: 344 Bytes

Versions: 7

Compression:

Stored size: 344 Bytes

Contents

---
title: moveNode
name: functions-movenode
---

**function moveNode(node, target_node, position);**

Move a node. Position can be 'before', 'after' or 'inside'.

{% highlight js %}
var node = $tree.tree('getNodeById', 1);
var target_node = $tree.tree('getNodeById', 2);

$tree.tree('moveNode', node, target_node, 'after');
{% endhighlight %}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
iqvoc-4.12.1 vendor/assets/bower_components/jqtree/_entries/43_movenode.md
iqvoc-4.12.0 vendor/assets/bower_components/jqtree/_entries/43_movenode.md
iqvoc-4.11.1 vendor/assets/bower_components/jqtree/_entries/43_movenode.md
iqvoc-4.11.0 vendor/assets/bower_components/jqtree/_entries/43_movenode.md
iqvoc-4.10.0 vendor/assets/bower_components/jqtree/_entries/43_movenode.md
iqvoc-4.9.0 vendor/assets/bower_components/jqtree/_entries/43_movenode.md
iqvoc-4.8.2 vendor/assets/bower_components/jqtree/_entries/43_movenode.md