Check documentation for the
latest version of dhtmlxSuite
enableCheckBoxes 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
enableCheckBoxes
shows/hides checkboxes (all checkboxes in the tree)
void
enableCheckBoxes
(
boolean
mode
,
boolean
hidden
);
mode
boolean
true|false, to show/hide checkboxes
hidden
boolean
if set to "true", checkboxes aren't rendered, but can be shown by showItemCheckbox()
Example
myTree.
enableCheckBoxes
(
mode
,
hidden
)
;
Related samples
Lists of check boxes states
See also
API
showItemCheckbox
disableCheckbox
enableSmartCheckboxes
enableThreeStateCheckboxes
Articles
Manipulating Checkboxes
Back to top