Check documentation for the
latest version of dhtmlxSuite
setItemText DHTMLX Docs
Samples
Forum
Support
Documentation
/
Suite 5.X
addItem
attachEvent
checkItem
clearAll
closeItem
deleteChildItems
deleteItem
detachEvent
disableCheckbox
enableCheckbox
enableCheckboxes
enableContextMenu
enableDragAndDrop
enableMultiselect
getAllChecked
getAllUnchecked
getItemText
getLevel
getParentId
getSelectedId
getSubItems
getUserData
hideCheckbox
isCheckboxEnabled
isCheckboxVisible
isItemChecked
loadStruct
openItem
refreshItem
selectItem
setIconColor
setIconset
setItemIcons
setItemText
setSizes
setSkin
setUserData
showCheckbox
showItem
silent
uncheckItem
unload
unselectItem
Start
TreeView
dhtmlXTreeView API
Methods
setItemText
sets a new item's text
void
setItemText
(
string|number
id
,
string
text
);
id
string|number
the item's id
text
string
the new item's text
Example
myTreeView.
setItemText
(
"2"
,
"New Text"
)
;
See also
API
getItemText
Back to top