Check documentation for the
latest version of dhtmlxSuite
setItemImage DHTMLX Docs
Samples
Forum
Support
Documentation
/
Suite 5.X
addButton
addButtonSelect
addButtonTwoState
addInput
addListOption
addSeparator
addSlider
addSpacer
addText
attachEvent
clearAll
clearItemImage
clearItemImageDis
clearListOptionImage
detachEvent
disableItem
disableListOption
enableItem
enableListOption
forEachItem
forEachListOption
getAllListOptions
getInput
getItemState
getItemText
getItemToolTip
getItemToolTipTemplate
getListOptionImage
getListOptionPosition
getListOptionSelected
getListOptionText
getListOptionToolTip
getListOptionUserData
getMaxValue
getMinValue
getParentId
getPosition
getType
getTypeExt
getUserData
getValue
getWidth
hideItem
hideListOption
isEnabled
isListOptionEnabled
isListOptionVisible
isVisible
loadStruct
loadXML
loadXMLString
removeItem
removeListOption
removeSpacer
setAlign
setIconPath
setIconSize
setIconsPath
setIconset
setItemImage
setItemImageDis
setItemState
setItemText
setItemToolTip
setItemToolTipTemplate
setListOptionImage
setListOptionPosition
setListOptionSelected
setListOptionText
setListOptionToolTip
setListOptionUserData
setMaxOpen
setMaxValue
setMinValue
setPosition
setSkin
setUserData
setValue
setWidth
showItem
showListOption
unload
Start
Toolbar
dhtmlXToolbar API
Methods
setItemImage
sets an image for an item in the enabled state
void
setItemImage
(
string|number
itemId
,
string
url
);
itemId
string|number
the id of an item
url
string
the URL of an image
Example
myToolbar.
setItemImage
(
itemId
,
url
)
;
Back to top