Closed cpostlethwait closed 12 years ago
Just wanted to make you aware that your documentation on the UpdateNode function seems to be missing the node parameter... took a few extra minutes to figure out how to use it which isn't a big deal, but probably not hard to correct either.
http://mbraak.github.com/jqTree/#functions-updatenode
current: var node = $tree.tree('getNodeById', 123); $tree.tree('updateNode', 'new label');
corrected: var node = $tree.tree('getNodeById', 123); $tree.tree('updateNode', node, 'new label');
Thanks a lot. This is now fixed in the dev branch
Just wanted to make you aware that your documentation on the UpdateNode function seems to be missing the node parameter... took a few extra minutes to figure out how to use it which isn't a big deal, but probably not hard to correct either.
http://mbraak.github.com/jqTree/#functions-updatenode
current: var node = $tree.tree('getNodeById', 123); $tree.tree('updateNode', 'new label');
corrected: var node = $tree.tree('getNodeById', 123); $tree.tree('updateNode', node, 'new label');