Widgets
Samples
Demos
Forum
Services
Documentation
add
addBind
attachEvent
bind
blockEvent
callEvent
clearAll
clearValidation
copy
count
define
destructor
detachEvent
exists
filter
find
getBindData
getBranchIndex
getCursor
getFirstChildId
getFirstId
getIdByIndex
getIndexById
getItem
getLastId
getNextId
getNextSiblingId
getParentId
getPrevId
getPrevSiblingId
hasEvent
isBranch
isVisible
load
loadBranch
loadNext
mapEvent
move
moveBottom
moveTop
parse
refresh
refreshCursor
remove
removeBind
saveBatch
serialize
setBindData
setCursor
sort
sync
unbind
unblockEvent
updateItem
validate
waitSave
Start
API Reference
Mixins
TreeCollection
Methods
moveTop
moves the specified item to the first position
void
moveTop
(
id
id
,
id
parentId
);
id
id
the item id
parentId
id
the id of a new parent
Example
$$
(
"tree"
)
.
moveTop
(
"1.2.3"
,
"2"
)
Back to top