expand collaps
addItem(item,pos)
add item to toolbar
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
- item - dhtmlXButton object
- pos - item position
addOption(value,display)
add option to dropdown
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
- value - string value (sended to action function)
- display - displayed string
clearOptions()
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 id
enable()
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 id
getIndexByValue(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 value
getItem(itemId)
return item object by id
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- itemId - item id
getItemByPosition(position)
return item object by position
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
- position - item position
getState()
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 comma
hideItem(itemId)
hide toolbar button
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- itemId - item id
hideItemByPosition(position)
hide toolbar button
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
- position - item position
loadXML(file,afterCall)
load XML from file
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- file - file name
- afterCall - function which will be called after xml loading
loadXMLFor(file,itemId)
load XML from file
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- file - file name
- itemId - if of item for which xml requested
- afterCall - function which will be called after loading
loadXMLString(xmlString,afterCall)
load XML from string
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- xmlString - string contining XML
- afterCall - function which will be called after xml loading
removeItemById(itemId)
remove item
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
- itemId - item id
removeItemByPosition(position)
remove item
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
- position - item position
removeOption(value)
remove string from dropdown
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
- value - string value
resetBar(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 comma
setBarAlign(align)
set toolbar buttons alignment (allowed - 'left','center','right','top','middle','bottom')
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- align - buttons alignment
setBarSize(width,height)
set toolbar size
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- width - toolbar width
- height - toolbar height
setGfxPath(path)
set path to system images
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- path - relative path to images
setItemAction(id,action)
set item individual action
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- id - item identificator
- action - js function called on item selection
setOnClickHandler(func)
set default action
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- action - set default action
setOnHideHandler(func)
set action hadler on toolbar hiding
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- func - user defined function
setOnLoadingEnd(func) [Standard]
set function called after xml loading/parsing ended
Event Name:onXMLLoadingEnd
event fired simultaneously with ending XML parsing, new items already available in toolbar
- toolbar object
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
- func - event handling function
setOnShowHandler(func)
set action hadler on toolbar showing
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- func - user defined function
setOptionText(value,newText)
change option text
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
- value - option value
- newText - new option text
setOptionValue(oldValue,newValue)
change string value
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
- oldValue - old string value
- newValue - new string value
setSelected(value)
select string by value
Object: dhtmlXSelectButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
- value - string value
setState(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 toolbar
setToolbarCSS(table,title,button,text)
set toolbar classes
Object: dhtmlXToolbarObject
Topic(s):
File required:dhtmlxtoolbar.js
- table - css class for toolbar container
- title - css class for toolbar title
- button - css class for button
- text - css class for button text
setValue(val)
set value of slider control
Object: dhtmlXSliderButtonObject
Topic(s):
File required:dhtmlxtoolbar.js
- val - (integer) new value
showBar()
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 comma
showItem(id)
show toolbar button
Object: dhtmlXProtobarObject
Topic(s):
File required:dhtmlxprotobar.js
- id - item id