Check documentation for the
latest version of dhtmlxSuite
setItemState DHTMLX Docs
Samples
Forum
Support
Documentation
/
Suite 5.X
attachEvent
check
detachEvent
disable
enable
getCombo
getInput
getItemOptionText
getItemState
getItemText
getItemType
getValue
hide
isChecked
isEnabled
isVisible
loadStruct
removeItem
setIconPath
setIconset
setItemImage
setItemImageDis
setItemOptionText
setItemState
setItemText
setSizes
setSkin
setValue
show
tabs
uncheck
unload
Start
Ribbon
dhtmlXRibbon API
Methods
setItemState
sets pressed/released state for a two-state button
void
setItemState
(
string
itemId
,
boolean
state
);
itemId
string
id of a two-state item
state
boolean
state:
true
for pressed,
false
for released
Example
myRibbon.
setItemState
(
itemId
,
state
)
;
Back to top