zTree
Table of contents
-
速查表
-
关于
-
zTree 核心函数
-
参数说明
-
方法
-
获取
-
操作
-
addNodes(parentNode, newNodes, isSilent)
-
cancelInput(newName)
-
cancelSelectedNode()
-
checkAllNodes(checked)
-
copyNode(targetNode, treeNode, moveType)
-
expandAll(expandSign)
-
expandNode(treeNode, expandSign, sonSign, focus)
-
inputNodeName(treeNode)
-
moveNode(targetNode, treeNode, moveType)
-
reAsyncChildNodes(parentNode, reloadType)
-
refresh()
-
removeNode(treeNode)
-
selectNode(treeNode)
-
setEditable(editable)
-
updateNode(treeNode, checkTypeFlag)
-
updateSetting(setting)
-
事件
-
callback 回调函数
-
beforeAsync(treeId, treeNode)
-
beforeChange(treeId, treeNode)
-
beforeClick(treeId, treeNode)
-
beforeCollapse(treeId, treeNode)
-
beforeDblclick(treeId, treeNode)
-
beforeDrag(treeId, treeNode)
-
beforeDrop(treeId, treeNode, targetNode, moveType)
-
beforeExpand(treeId, treeNode)
-
beforeMouseDown(treeId, treeNode)
-
beforeMouseUp(treeId, treeNode)
-
beforeRemove(treeId, treeNode)
-
beforeRename(treeId, treeNode)
-
beforeRightClick(treeId, treeNode)
-
confirmDragOpen(treeId, treeNode)
-
confirmRename(treeId, treeNode, newName)
-
asyncError(event, treeId, XMLHttpRequest, textStatus, errorThrown)
-
asyncSuccess(event, treeId, msg)
-
change(event, treeId, treeNode)
-
click(event, treeId, treeNode)
-
collapse(event, treeId, treeNode)
-
dblclick(event, treeId, treeNode)
-
drag(event, treeId, treeNode)
-
drop(event, treeId, treeNode, targetNode, moveType)
-
expand(event, treeId, treeNode)
-
mouseDown(event, treeId, treeNode)
-
mouseUp(event, treeId, treeNode)
-
nodeCreated(event, treeId, treeNode)
-
remove(event, treeId, treeNode)
-
rename(event, treeId, treeNode)
-
rightClick(event, treeId, treeNode)
-
常量