TreeAPI

Implements common APIs for tree-like components..

Methods
close closes the branch with the specified id
closeAll closes all branches in the tree
getOpenItems returns ids of the opened branches
getState returns the current state of the view
isBranchOpen checks whether the specified branch is open or closed
open opens the branch with the specified id
openAll opens all branches in the tree
setState restores the specified state of a view
Events
onAfterClose fires after the branch has been closed
onAfterOpen fires after the branch has been opened
onBeforeClose fires the moment you attempt to close the tree branch
onBeforeOpen fires the moment you attempt to open the tree branch
onItemCheck called when the checkbox inside the tree item was checked
Properties
threeState enable three-state checkboxes
Back to top