Check documentation for the
latest version of dhtmlxSuite
setTooltip 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
setTooltip
sets a tooltip for a menu item
void
setTooltip
(
string|number
itemId
,
string
tip
);
itemId
string|number
menu item's id
tip
string
the tooltip's text
Example
myMenu.
setTooltip
(
itemId
,
"tip"
)
;
Back to top