Initialization
hideBar()
hide toolbar
Nested from:dhtmlXProtobarObject
loadXML(file)
load XML from file
file - file name
Nested from:dhtmlXProtobarObject loadXMLString(xmlString)
load XML from string
xmlString - string contining XML
Nested from:dhtmlXProtobarObject setBarAlign(align)
set toolbar buttons alignment (allowed - 'left','center','right','top','middle','bottom')
align - buttons alignment
Nested from:dhtmlXProtobarObject setBarSize(width,height)
set toolbar size
width - toolbar widthheight - toolbar height
Nested from:dhtmlXProtobarObject setTitleText(newText)
set toolbar tittle
name - new tittle, shown on toolbar
Nested from:dhtmlXProtobarObject showBar()
show toolbar
Nested from:dhtmlXProtobarObject
Add/delete
addItem(item,position)
add item to toolbar
item - dhtmlXButton objectposition - item position [not supported in current version] removeItemById(itemId)
remove item
itemId - item id removeItemByPosition(position)
remove item
position - item position Action handling
setItemAction(id,action)
set item individual action
id - item identificatoraction - js function called on item selection
Nested from:dhtmlXProtobarObject setOnClickHandler(func)
set default action
action - set default action
Nested from:dhtmlXProtobarObject setOnHideHandler(func)
set action hadler on toolbar hiding
func - user defined function
Nested from:dhtmlXProtobarObject setOnShowHandler(func)
set action hadler on toolbar showing
func - user defined function
Nested from:dhtmlXProtobarObject Item control
disableItem(itemId)
disable toolbar button
itemId - item id
Nested from:dhtmlXProtobarObject enableItem(itemId)
enable toolbar button
itemId - item id
Nested from:dhtmlXProtobarObject getItem(itemId)
return item object by id
itemId - item id
Nested from:dhtmlXProtobarObject getItemByPosition(position)
return item object by position
position - item position hideButtons(idList)
hide toolbar buttons
idList - list of items's ids, separated by comma
Nested from:dhtmlXProtobarObject hideItem(itemId)
hide toolbar button
itemId - item id
Nested from:dhtmlXProtobarObject hideItemByPosition(position)
hide toolbar button
position - item position resetBar(idList)
hide all items, show only items which ids in list
idList - list of id's, separated by comma
Nested from:dhtmlXProtobarObject showButtons(idList)
show toolbar buttons
idList - list of items's ids, separated by comma
Nested from:dhtmlXProtobarObject showItem(id)
show toolbar button
id - item id
Nested from:dhtmlXProtobarObject Action handling
setAction(func)
set default action, action function take one parametr - item id
func - js function
Nested from:dhtmlXButtonPrototypeObject setSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
func - js function
Nested from:dhtmlXButtonPrototypeObject Item control
disable()
disable object
Nested from:dhtmlXButtonPrototypeObject
enable()
enable object
Nested from:dhtmlXButtonPrototypeObject
setAltText(imageText)
set alt text of button image
imageText - new alt image text
Nested from:dhtmlXButtonPrototypeObject setHTML(htmlText)
set innerHTML of button
htmlText - new text
Nested from:dhtmlXButtonPrototypeObject setImage(imageSrc)
set image href
imageSrc - new image href
Nested from:dhtmlXButtonPrototypeObject Action handling
setAction(func)
set default action, action function take one parametr - item id
func - js function
Nested from:dhtmlXButtonPrototypeObject setSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
func - js function
Nested from:dhtmlXButtonPrototypeObject Item control
disable()
disable object
Nested from:dhtmlXButtonPrototypeObject
enable()
enable object
Nested from:dhtmlXButtonPrototypeObject
setAltText(imageText)
set alt text of button image
imageText - new alt image text
Nested from:dhtmlXButtonPrototypeObject setHTML(htmlText)
set innerHTML of button
htmlText - new text
Nested from:dhtmlXButtonPrototypeObject setImage(imageSrc)
set image href
imageSrc - new image href
Nested from:dhtmlXButtonPrototypeObject Action handling
setAction(func)
set default action, action function take one parametr - item id
func - js function
Nested from:dhtmlXButtonPrototypeObject setSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
func - js function
Nested from:dhtmlXButtonPrototypeObject Item control
disable()
disable object
Nested from:dhtmlXButtonPrototypeObject
enable()
enable object
Nested from:dhtmlXButtonPrototypeObject
setAltText(imageText)
set alt text of button image
imageText - new alt image text
Nested from:dhtmlXButtonPrototypeObject setHTML(htmlText)
set innerHTML of button
htmlText - new text
Nested from:dhtmlXButtonPrototypeObject setImage(imageSrc)
set image href
imageSrc - new image href
Nested from:dhtmlXButtonPrototypeObject Action handling
setAction(func)
set default action, action function take one parametr - item id
func - js function
Nested from:dhtmlXButtonPrototypeObject setSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
func - js function
Nested from:dhtmlXButtonPrototypeObject Item control
disable()
disable object
Nested from:dhtmlXButtonPrototypeObject
enable()
enable object
Nested from:dhtmlXButtonPrototypeObject
setAltText(imageText)
set alt text of button image
imageText - new alt image text
Nested from:dhtmlXButtonPrototypeObject setHTML(htmlText)
set innerHTML of button
htmlText - new text
Nested from:dhtmlXButtonPrototypeObject setImage(imageSrc)
set button image
newText - new text [ HTML allowed ] setText(newText)
set button text
newText - new text [ HTML allowed ] Initialization
getIndexByValue(value)
return string index in dropdown by value (return -1 if string with given value not found)
value - string value Action handling
setAction(func)
set default action, action function take one parametr - item id
func - js function
Nested from:dhtmlXButtonPrototypeObject setSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
func - js function
Nested from:dhtmlXButtonPrototypeObject Item control
disable()
disable object
enable()
enable object
setAltText(imageText)
set alt text of button image
imageText - new alt image text
Nested from:dhtmlXButtonPrototypeObject setHTML(htmlText)
set innerHTML of button
htmlText - new text
Nested from:dhtmlXButtonPrototypeObject setImage(imageSrc)
set image href
imageSrc - new image href
Nested from:dhtmlXButtonPrototypeObject