KoolTreeView Class [Javascript]
Summary
Methods | Description | |
unselectAll | Unselect all selected nodes | |
expandAll | Expand all the treenodes | |
collapseAll | Collapse all the treenodes | |
getSelectedIds | Return array of id of selected nodes. | |
removeNode | Remove a node. | |
getNode | Get a node object. | |
registerEvent | Register event for tree. |
Methods Detail
getSelectedIdsTop
string getSelectedIds()
Return array of id of selected nodes.
Supported from version: 2.0.0.0
registerEventTop
void registerEvent(string eventName, function handleEvent)
Register event for tree.
Allowed eventName:
"OnBeforeSelect"
"OnBeforeUnSelect"
"OnBeforeExpand"
"OnBeforeCollapse"
"OnBeforeStartEdit"
"OnBeforeEndEdit"
"OnBeforeDrop"
"OnBeforeSubTreeLoad"
"OnSelect"
"OnUnselect"
"OnExpand"
"OnCollapse"
"OnStartEdit"
"OnEndEdit"
"OnDrag"
"OnDrop"
"OnSubTreeLoad"
"OnBeforeUnSelect"
"OnBeforeExpand"
"OnBeforeCollapse"
"OnBeforeStartEdit"
"OnBeforeEndEdit"
"OnBeforeDrop"
"OnBeforeSubTreeLoad"
"OnSelect"
"OnUnselect"
"OnExpand"
"OnCollapse"
"OnStartEdit"
"OnEndEdit"
"OnDrag"
"OnDrop"
"OnSubTreeLoad"
Supported from version: 1.0.0.0