Widgets
Samples
Demos
Forum
Services
Documentation
add
addCss
adjust
attachEvent
bind
blockEvent
callEvent
checkAll
checkItem
clearAll
clearCss
clearValidation
close
closeAll
copy
count
customize
define
destructor
detachEvent
disable
enable
exists
filter
find
getBranchIndex
getChecked
getChildViews
getFirstChildId
getFirstId
getFormView
getIdByIndex
getIndexById
getItem
getItemNode
getLastId
getNextId
getNextSiblingId
getNode
getOpenItems
getParentId
getParentView
getPrevId
getPrevSiblingId
getScrollState
getSelectedId
getSelectedItem
getState
getTopParentView
group
hasCss
hasEvent
hide
isBranch
isBranchOpen
isChecked
isEnabled
isSelected
isVisible
load
loadBranch
loadNext
locate
mapEvent
move
moveBottom
moveDown
moveSelection
moveTop
moveUp
open
openAll
parse
queryView
refresh
remove
removeCss
render
resize
scrollTo
select
selectAll
serialize
setState
show
showItem
sort
sync
unbind
unblockEvent
uncheckAll
uncheckItem
ungroup
unselect
unselectAll
updateItem
validate
waitSave
Start
API Reference
ui.tree
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