DHTMLX Docs & Samples Explorer
Index
dhtmlxtoolbar
dhtmlxToolbar API Methods
dhtmlXToolbarObject Object
addButton
- adds a button to webbar
addButtonSelect
- adds a select button to webbar
addButtonTwoState
- adds a two-state button to webbar
addInput
- adds an input item to webbar
addListOption
- adds a listed option to a select button
addSeparator
- adds a separator to webbar
addSpacer
- aligns all items after the specified one on the right side
addSlider
- adds a slider to webbar
addText
- adds a text item to webbar
attachEvent
- attaches an event handler to webbar
checkEvent
- returns true if event exists
clearAll
- removes all items from toolbar
clearItemImage
- removes an image of an item in enabled state
clearItemImageDis
- removes an image of an item in disabled state
clearListOptionImage
- removes an image (if exists) of a listed option
detachEvent
- removes an event handler
disableItem
- disables a specified item
disableListOption
- disables a listed option
enableItem
- enables a specified item
enableListOption
- enables a listed option
forEachItem
- iterator, calls user handler for each item
forEachListOption
- calls user defined handler for each listed option of parentId
getAllListOptions
- returns array with ids of all listed options for parentId
getInput
- returns item's object (input only)
getItemState
- returns current state of a two-state button
getItemText
- returns cureent item's text
getItemToolTip
- returns current item's tooltip
getItemToolTipTemplate
- returns a current tooltip template of a slider
getListOptionImage
- returns an image of a listed option
getListOptionPosition
- returns a position of a listed option
getListOptionSelected
- returns selected listed option
getListOptionText
- returns a text of a listed option
getListOptionToolTip
- returns a tooltip of a listed option
getMaxValue
- returns current maximal value and label of a slider
getMinValue
- returns current minimal value and label of a slider
getPosition
- returns a current position of an item
getType
- returns item type by item id
getTypeExt
- returns extended item type by item id (button select node)
getValue
- returns a current value of a slider or an input item
getWidth
- returns a current width of an input item
hideItem
- hides a specified item
hideListOption
- hides a listed option
isEnabled
- returns true if a specified item is enabled
isListOptionEnabled
- returns true if a listed option is enabled
isListOptionVisible
- returns true if a listed option is visible
isVisible
- returns true if a specified item is visible
loadXML
- loads data to object from xml file
loadXMLString
- loads data to object from xml string
removeItem
- completely removes an item for a webbar
removeListOption
- completely removes a listed option from a select button
setIconSize
- sets the size of icons in the toolbar
setIconsPath
- sets path to used images
setIconPath
- alias of the
setIconsPath
method
setItemImage
- sets an image for an item in enabled state
setItemImageDis
- sets an image for an item in disabled state
setItemState
- sets a pressed/released state for a two-state button
setItemText
- sets new text for an item
setItemToolTip
- sets a tooltip for an item
setItemToolTipTemplate
- sets a tooltip template for a slider
setListOptionImage
- sets an image for a listed option
setListOptionPosition
- sets a position of a listed option (moves listed option)
setListOptionSelected
- sets listed option selected
setListOptionText
- sets a text for a listed option
setListOptionToolTip
- sets a tooltip for a listed option
setMaxValue
- sets maximal value and label for a slider
setMinValue
- sets minimal value and label for a slider
setPosition
- sets a new position for an item (moves item to desired position)
setRTL
- enables rtl mode for toolbar
setSkin
- sets skin on the fly
setValue
- sets a value for a slider or an input item
setWidth
- sets a width for an text/input/buttonSelect item
showItem
- shows a specified item
showListOption
- shows a listed option
unload
- destructor