documentation
.HELP!
zTree Documentation
FolderMark_Docu
zTree
previous page
next page
FolderMark_Docu
目录: [常量] --> [文件夹图标相关]
概述
zTree 的节点自定义图标 id 后缀(文件夹、末级节点区分相关)命名定义,核心内部使用,仅供参考
previous page
start
next page
Menu
Homepage
Table of contents
速查表
关于
zTree 介绍
提交bug及获取更新
zTree 核心函数
zTree(setting, [zTreeNodes])
skin 皮肤说明
zTreeStyle.css
zTreeIcons.css
参数说明
setting 详解
addDiyDom
addHoverDom
async
asyncDataFilter
asyncParam
asyncParamOther
asyncUrl
callback
checkable
checkedCol
checkRadioType
checkStyle
checkType
dragCopy
dragMove
edit_removeBtn
edit_renameBtn
editable
expandSpeed
fontCss
isSimpleData
keepLeaf
keepParent
nameCol
nodesCol
removeHoverDom
root
rootPID
showIcon
showLine
treeNodeKey
treeNodeParentKey
[checkRadioCheckedList]
[curEditTreeNode]
[curTreeNode]
[dragNodeShowBefore]
[dragStatus]
[expandTriggerFlag]
[treeObjId]
zTreeNodes 详解
checked
click
icon
iconClose
iconOpen
iconSkin
isParent
name
nocheck
nodes
open
target
url
*自定义*
[check_False_Full]
[check_True_Full]
[checkboxFocus]
[checkedOld]
[editNameStatus]
[isAjaxing]
[isFirstNode]
[isHover]
[isLastNode]
[level]
[parentNode]
[tId]
方法
获取
getChangeCheckedNodes()
getCheckedNodes(checked)
getNodeByParam(key, value)
getNodeByTId(tID)
getNodeIndex(treeNode)
getNodes()
getNodesByParam(key, value, parentNode)
getNodesByParamFuzzy(key, value, parentNode)
getSelectedNode()
getSetting()
transformToArray(treeNodes)
transformTozTreeNodes(simpleTreeNodes)
操作
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)
常量
事件相关
ZTREE_ASYNC_ERROR
ZTREE_ASYNC_SUCCESS
ZTREE_CHANGE
ZTREE_CLICK
ZTREE_DRAG
ZTREE_DROP
ZTREE_NODECREATED
ZTREE_REMOVE
ZTREE_RENAME
ID命名相关
IDMark_A
IDMark_Check
IDMark_Edit
IDMark_Icon
IDMark_Input
IDMark_Remove
IDMark_Span
IDMark_Switch
IDMark_Ul
背景线条相关
LineMark_Bottom
LineMark_Center
LineMark_Line
LineMark_NoLine
LineMark_Root
LineMark_Roots
文件夹图标相关
FolderMark_Close
FolderMark_Docu
FolderMark_Open
className相关
Class_CurSelectedNode
Class_CurSelectedNode_Edit
Class_TmpTargetNode
Class_TmpTargetTree
CheckBox & Radio 相关
Check_Style_Box
Check_Style_Radio
CheckBox_Default
CheckBox_False
CheckBox_Focus
CheckBox_Full
CheckBox_Part
CheckBox_True
Radio_Type_All
Radio_Type_Level
其他
MinMoveSize
MoveType_After
MoveType_Before
MoveType_Inner
Get in touch
Submit feedback about this site to:
[email protected]