Check documentation for the
latest version of dhtmlxSuite
setCheckboxState DHTMLX Docs
Samples
Forum
Support
Documentation
/
Suite 5.X
addCheckbox
addContextZone
addNewChild
addNewSeparator
addNewSibling
addRadioButton
attachEvent
clearAll
clearHref
clearItemImage
detachEvent
enableDynamicLoading
enableEffect
forEachItem
getCheckboxState
getCircuit
getContextMenuHideAllMode
getHotKey
getItemImage
getItemPosition
getItemText
getItemType
getParentId
getRadioChecked
getTooltip
getUserData
hide
hideContextMenu
hideItem
isContextZone
isItemEnabled
isItemHidden
loadFromHTML
loadStruct
loadXML
loadXMLString
removeContextZone
removeItem
renderAsContextMenu
serialize
setAlign
setAutoHideMode
setAutoShowMode
setCheckboxState
setContextMenuHideAllMode
setHotKey
setHref
setIconPath
setIconsPath
setIconset
setImagePath
setItemDisabled
setItemEnabled
setItemImage
setItemPosition
setItemText
setOpenMode
setOverflowHeight
setRadioChecked
setSkin
setTooltip
setTopText
setUserData
setVisibleArea
setWebModeTimeout
showContextMenu
showItem
unload
Start
Menu
dhtmlXMenu API
Methods
setCheckboxState
sets a checkbox's state (checked/unchecked)
void
setCheckboxState
(
string|number
itemId
,
boolean
state
);
itemId
string|number
the item's id
state
boolean
a new state (true/false)
Example
myMenu.
setCheckboxState
(
itemId
,
state
)
;
Back to top