My favorites
▼
|
Sign in
dynatree
Dynatree is a JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, drag'n'drop, and lazy loading.
Project Home
Downloads
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
122
attachment: Example.txt
(583 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var tree = $("#treeView").dynatree("getTree");
var node = tree.getNodeByKey(data.FolderID);
var parentKey = null;
if (node != null) {
parentKey = node.parent.data.key;
node.remove();
}
var pNode = tree.getActiveNode();
if (pNode == null || pNode.data.key == data.FolderID) {
tree.activateKey(parentKey);
}
else {
parentKey = pNode.data.key;
}
Powered by
Google Project Hosting