Check documentation for the
latest version of dhtmlxSuite
getItemIdByIndex DHTMLX Docs
Samples
Forum
Support
Documentation
/
Suite 5.X
assignKeys
attachEvent
changeItemId
clearCut
clearSelection
closeAllItems
closeItem
deleteChildItems
deleteItem
destructor
detachEvent
disableCheckbox
doCut
doPaste
editItem
enableActiveImages
enableAutoSavingSelected
enableAutoTooltips
enableCheckBoxes
enableContextMenu
enableDistributedParsing
enableDragAndDrop
enableDragAndDropScrolling
enableHighlighting
enableIEImageFix
enableImageDrag
enableItemEditor
enableKeySearch
enableKeyboardNavigation
enableLoadingItem
enableMercyDrag
enableMultiLineItems
enableMultiselection
enableRTL
enableRadioButtons
enableSingleRadioMode
enableSmartCheckboxes
enableSmartXMLParsing
enableTextSigns
enableThreeStateCheckboxes
enableTreeImages
enableTreeLines
findItem
findItemIdByLabel
focusItem
getAllChecked
getAllCheckedBranches
getAllChildless
getAllItemsWithKids
getAllPartiallyChecked
getAllSubItems
getAllUnchecked
getAttribute
getChildItemIdByIndex
getDistributedParsingState
getIndexById
getItemColor
getItemIdByIndex
getItemImage
getItemParsingState
getItemText
getItemTooltip
getLevel
getOpenState
getParentId
getSelectedItemId
getSelectedItemText
getSubItems
getUserData
getXMLState
hasChildren
insertNewChild
insertNewItem
insertNewNext
isItemChecked
isLocked
load
loadCSV
loadCSVString
loadJSArray
loadJSArrayFile
loadJSON
loadJSONObject
loadOpenStates
loadState
loadXML
loadXMLString
lockItem
lockTree
makeAllDraggable
makeDraggable
moveItem
openAllItems
openAllItemsDynamic
openItem
openItemsDynamic
openOnItemAdded
parse
preventIECaching
refreshItem
refreshItems
registerXMLEntity
restoreSelectedItem
saveOpenStates
saveSelectedItem
saveState
selectItem
serializeTree
serializeTreeToJSON
setAttribute
setCheck
setChildCalcHTML
setChildCalcMode
setCustomSortFunction
setDataMode
setDragBehavior
setEditStartAction
setEscapingMode
setIconSize
setIconsPath
setImageArrays
setImagesPath
setItemCloseable
setItemColor
setItemContextMenu
setItemImage
setItemStyle
setItemText
setItemTopOffset
setListDelimeter
setLockedIcons
setSerializationLevel
setSkin
setStdImages
setSubChecked
setUserData
setXMLAutoLoading
setXMLAutoLoadingBehaviour
showItemCheckbox
showItemSign
smartRefreshBranch
smartRefreshItem
sortTree
stopEdit
updateItem
Start
Tree
dhtmlXTree API
Methods
getItemIdByIndex
returns the node's id by index
string|number
getItemIdByIndex
(
string|number
id
,
number
index
);
id
string|number
the parent node's id
index
number
the index of the node, 0-based
string|number
the node's id
Back to top