_doOnLoad()
alias of setIconsPath
File required:dhtmlxtoolbar.js
addButton(id, pos, text, imgEnabled, imgDisabled)
adds a button to webbar
File required:dhtmlxtoolbar.js
id - id of a buttonpos - position of a buttontext - text for a button (null for no text)imgEnabled - image for enabled state (null for no image)imgDisabled - image for desabled state (null for no image) addButtonSelect(id, pos, text, opts, imgEnabled, imgDisabled)
adds a select button to webbar
File required:dhtmlxtoolbar.js
id - id of a select buttonpos - position of a select buttontext - text for a select button (null for no text)opts - listed options for a select buttonimgEnabled - image for enabled state (null for no image)imgDisabled - image for desabled state (null for no image) addButtonTwoState(id, pos, text, imgEnabled, imgDisabled)
adds a two-state button to webbar
File required:dhtmlxtoolbar.js
id - id of a two-state buttonpos - position of a two-state buttontext - text for a two-state button (null for no text)imgEnabled - image for enabled state (null for no image)imgDisabled - image for desabled state (null for no image) addInput(id, pos, value, width)
adds an input item to webbar
File required:dhtmlxtoolbar.js
id - id of an input itempos - position of an input itemvalue - value (text) in an input item by the defaultwidth - width of an input item (px) addListOption(parentId, optionId, pos, type, text, img)
adds a listed option to a select button
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionpos - position of a listed optiontype - type of a listed option (button|separator)text - text for a listed optionimg - image for a listed option addSeparator(id, pos)
adds a separator to webbar
File required:dhtmlxtoolbar.js
id - id of a separatorpos - position of a separator addSlider(id, pos, len, valueMin, valueMax, valueNow, textMin, textMax, tip)
adds a slider to webbar
File required:dhtmlxtoolbar.js
id - id of a sliderpos - position of a sliderlen - length (width) of a slider (px)valueMin - minimal available value of a slidervalueMax - maximal available value of a slidervalueNow - initial current value of a slidertextMin - label for minimal value side (on the left side)textMax - label for maximal value side (on the right side)tip - tooltip template (%v will replaced with current value) addText(id, pos, text)
adds a text item to webbar
File required:dhtmlxtoolbar.js
id - id of a text itempos - position of a text itemtext - text for a text item clearItemImage(itemId)
removes an image of an item in enabled state
File required:dhtmlxtoolbar.js
itemId - id of an item clearItemImageDis(itemId)
removes an image of an item in disabled state
File required:dhtmlxtoolbar.js
itemId - id of an item clearListOptionImage(parentId, optionId)
removes an image (if exists) of a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option disableItem(itemId)
disables a specified item
File required:dhtmlxtoolbar.js
itemId - id of an item to disable disableListOption(parentId, optionId)
disables a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option enableItem(itemId)
enables a specified item
File required:dhtmlxtoolbar.js
itemId - id of an item to enable enableListOption(parentId, optionId)
enables a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option forEachItem(handler)
iterator, calls user handler for each item
File required:dhtmlxtoolbar.js
handler - user function, will take item id as an argument forEachListOption(parentId, handler)
calls user defined handler for each listed option of parentId
File required:dhtmlxtoolbar.js
parentId - id of a select buttonhandler - user defined function, listed option id will passed as an argument getAllListOptions(parentId)
returns array with ids of all listed options for parentId
File required:dhtmlxtoolbar.js
parentId - id of a select button getItemState(itemId)
returns current state of a two-state button
File required:dhtmlxtoolbar.js
itemId - id of a two-state item to check getItemText(itemId)
return cureent item's text
File required:dhtmlxtoolbar.js
itemId - id of an item getItemToolTip(itemId)
return current item's tooltip
File required:dhtmlxtoolbar.js
itemId - id of an item getItemToolTipTemplate(itemId)
returns a current tooltip template of a slider
File required:dhtmlxtoolbar.js
itemId - id of a slider getListOptionImage(parentId, optionId)
returns an image of a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option getListOptionPosition(parentId, optionId)
returns a position of a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option getListOptionSelected(parentId)
returns selected listed option
File required:dhtmlxtoolbar.js
parentId - id of a select button getListOptionText(parentId, optionId)
returns a text of a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option getListOptionToolTip(parentId, optionId)
returns a tooltip of a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option getMaxValue(itemId)
returns current maximal value and label of a slider
File required:dhtmlxtoolbar.js
itemId - id of a slider getMinValue(itemId)
return current minimal value and label of a slider
File required:dhtmlxtoolbar.js
itemId - id of a slider getPosition(itemId)
returns a current position of an item
File required:dhtmlxtoolbar.js
itemId - id of an item getType(itemId)
return item type by item id
File required:dhtmlxtoolbar.js
itemId getTypeExt(itemId)
return extended item type by item id (button select node)
File required:dhtmlxtoolbar.js
itemId getValue(itemId)
returns a current value of a slider or an input item
File required:dhtmlxtoolbar.js
itemId - id of a slider or an input item getWidth(itemId)
returns a current width of an input item
File required:dhtmlxtoolbar.js
itemId - id of an input item hideItem(itemId)
hides a specified item
File required:dhtmlxtoolbar.js
itemId - id of an item to hide hideListOption(parentId, optionId)
hides a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option isEnabled(itemId)
returns true if a specified item is enabled
File required:dhtmlxtoolbar.js
itemId - id of an item to check isListOptionEnabled(parentId, optionId)
return true if a listed option is enabled
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option isListOptionVisible(parentId, optionId)
return true if a listed option is visible
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option isVisible(itemId)
returns true if a specified item is visible
File required:dhtmlxtoolbar.js
itemId - id of an item to check loadXML(xmlFile, onLoadFunction)
loads data to object from xml file
File required:dhtmlxtoolbar.js
xmlFile - file with dta to loadonLoadFunction - function to call after data will loaded loadXMLString(xmlString, onLoadFunction)
loads data to object from xml string
File required:dhtmlxtoolbar.js
xmlString - xml string with data to loadonLoadFunction - function to call after data will loaded removeItem(itemId)
completely removes an item for a webbar
File required:dhtmlxtoolbar.js
itemId - id of an item removeListOption(parentId, optionId)
completely removes a listed option from a select button
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option setIconsPath(path)
set path to used images
File required:dhtmlxtoolbar.js
path - path to images on harddisk setItemImage(itemId, url)
sets an image for an item in enabled state
File required:dhtmlxtoolbar.js
itemId - id of an itemurl - url of an image setItemImageDis(itemId, url)
sets an image for an item in disabled state
File required:dhtmlxtoolbar.js
itemId - id of an itemurl - url of an image setItemState(itemId, state)
sets a pressed/released state for a two-state button
File required:dhtmlxtoolbar.js
itemId - id of a two-state itemstate - state, true for pressed, false for released setItemText(itemId, text)
sets new text for an item
File required:dhtmlxtoolbar.js
itemId - id of an itemtext - new text for an item setItemToolTip(itemId, tip)
sets a tooltip for an item
File required:dhtmlxtoolbar.js
itemId - id of an itemtip - tooltip (empty for clear) setItemToolTipTemplate(itemId, template)
sets a tooltip template for a slider
File required:dhtmlxtoolbar.js
itemId - id of a slidertemplate - tooltip template (%v will replaced with current value) setListOptionImage(parentId, optionId, img)
sets an image for a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionimg - image for a listed option setListOptionPosition(parentId, optionId, pos)
sets a position of a listed option (moves listed option)
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionpos - position of a listed option setListOptionSelected(parentId, optionId)
sets listed option selected
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option setListOptionText(parentId, optionId, text)
sets a text for a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optiontext - text for a listed option setListOptionToolTip(parentId, optionId, tip)
sets a tooltip for a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optiontip - tooltip for a listed option setMaxValue(itemId, value, label)
sets maximal value and label for a slider
File required:dhtmlxtoolbar.js
itemId - id of a slidervalue - value (int)label - label for value (empty for no label) setMinValue(itemId, value, label)
sets minimal value and label for a slider
File required:dhtmlxtoolbar.js
itemId - id of a slidervalue - value (int)label - label for value (empty for no label) setPosition(itemId, pos)
sets a new position for an item (moves item to desired position)
File required:dhtmlxtoolbar.js
itemId - id of an itempos - new position setValue(itemId, value, callEvent)
sets a value for a slider or an input item
File required:dhtmlxtoolbar.js
itemId - id of a slider or an input itemvalue - value (int for slider, any for input item) setWidth(itemId, width)
sets a width for an text/input/buttonSelect item
File required:dhtmlxtoolbar.js
itemId - id of an text/input/buttonSelect itemwidth - new width (px) showItem(itemId)
shows a specified item
File required:dhtmlxtoolbar.js
itemId - id of an item to show showListOption(parentId, optionId)
shows a listed option
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option