addItem(item,pos)
add item to toolbar
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
item - dhtmlXButton objectpos - item positionaddOption(value,display)
add option to dropdown
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
value - string value (sended to action function)display - displayed stringclearOptions()
clears options from selectbox
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
disable()
disable object
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
disableItem(itemId)
disable toolbar button
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
itemId - item idenable()
enable object
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
enableItem(itemId)
enable toolbar button
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
itemId - item idgetIndexByValue(value)
return string index in dropdown by value (return -1 if string with given value not found)
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
value - string valuegetItem(itemId)
return item object by id
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
itemId - item idgetItemByPosition(position)
return item object by position
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
position - item positiongetState()
get button state
Object: dhtmlXTwoStateButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
getValue()
set value of slider control
Object: dhtmlXSliderButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
hideBar()
hide toolbar
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
hideButtons(idList)
hide toolbar buttons
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
idList - list of items's ids, separated by commahideItem(itemId)
hide toolbar button
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
itemId - item idhideItemByPosition(position)
hide toolbar button
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
position - item positionloadXML(file,afterCall)
load XML from file
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
file - file nameafterCall - function which will be called after xml loadingloadXMLFor(file,itemId)
load XML from file
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
file - file nameitemId - if of item for which xml requestedafterCall - function which will be called after loadingloadXMLString(xmlString,afterCall)
load XML from string
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
xmlString - string contining XMLafterCall - function which will be called after xml loadingremoveItemById(itemId)
remove item
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
itemId - item idremoveItemByPosition(position)
remove item
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
position - item positionremoveOption(value)
remove string from dropdown
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
value - string valueresetBar(idList)
hide all items, show only items which ids in list
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
idList - list of id's, separated by commasetBarAlign(align)
set toolbar buttons alignment (allowed - 'left','center','right','top','middle','bottom')
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
align - buttons alignmentsetBarSize(width,height)
set toolbar size
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
width - toolbar widthheight - toolbar heightsetGfxPath(path)
set path to system images
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
path - relative path to imagessetItemAction(id,action)
set item individual action
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
id - item identificatoraction - js function called on item selectionsetOnClickHandler(func)
set default action
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
action - set default actionsetOnHideHandler(func)
set action hadler on toolbar hiding
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
func - user defined functionsetOnLoadingEnd(func)
[Standard]
set function called after xml loading/parsing ended
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.jsfunc - event handling functionsetOnShowHandler(func)
set action hadler on toolbar showing
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
func - user defined functionsetOptionText(value,newText)
change option text
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
value - option valuenewText - new option textsetOptionValue(oldValue,newValue)
change string value
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
oldValue - old string valuenewValue - new string valuesetSelected(value)
select string by value
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
value - string valuesetState(state)
set button state
Object: dhtmlXTwoStateButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
state - new state (1 or 0)setText(newText)
set button text
Object: dhtmlXImageTextButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
newText - new text [ HTML allowed ]setTitleText(newText)
set toolbar tittle
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
name - new tittle, shown on toolbarsetToolbarCSS(table,title,button,text)
set toolbar classes
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
table - css class for toolbar containertitle - css class for toolbar titlebutton - css class for buttontext - css class for button textsetValue(val)
set value of slider control
Object: dhtmlXSliderButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
val - (integer) new valueshowBar()
show toolbar
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
showButtons(idList)
show toolbar buttons
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
idList - list of items's ids, separated by commashowItem(id)
show toolbar button
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
id - item id