Samples
Forum
Support
Documentation
add
changeId
clearAll
count
each
eachChild
eachOpen
eachSubItem
getBranch
getBranchIndex
getFirstChildId
getNextSiblingId
getParentId
getPrevSiblingId
getTopRange
isBranch
provideApi
remove
serialize
Start
API Reference
Mixins
TreeStore
Methods
isBranch
checks whether the node has any children
boolean
isBranch
(
id
id
);
Parameters
id
id
ID of the branch in question
Returns
boolean
**true,** if the branch has at least one child. **false,** if there-re no childern
Example
tree.
isBranch
(
'branch1'
)
;
Back to top