Check documentation for the
latest version of dhtmlxSuite
getPosition DHTMLX Docs
Samples
Forum
Support
Documentation
/
Suite 5.X
addButton
addButtonSelect
addButtonTwoState
addInput
addListOption
addSeparator
addSlider
addSpacer
addText
attachEvent
clearAll
clearItemImage
clearItemImageDis
clearListOptionImage
detachEvent
disableItem
disableListOption
enableItem
enableListOption
forEachItem
forEachListOption
getAllListOptions
getInput
getItemState
getItemText
getItemToolTip
getItemToolTipTemplate
getListOptionImage
getListOptionPosition
getListOptionSelected
getListOptionText
getListOptionToolTip
getListOptionUserData
getMaxValue
getMinValue
getParentId
getPosition
getType
getTypeExt
getUserData
getValue
getWidth
hideItem
hideListOption
isEnabled
isListOptionEnabled
isListOptionVisible
isVisible
loadStruct
loadXML
loadXMLString
removeItem
removeListOption
removeSpacer
setAlign
setIconPath
setIconSize
setIconsPath
setIconset
setItemImage
setItemImageDis
setItemState
setItemText
setItemToolTip
setItemToolTipTemplate
setListOptionImage
setListOptionPosition
setListOptionSelected
setListOptionText
setListOptionToolTip
setListOptionUserData
setMaxOpen
setMaxValue
setMinValue
setPosition
setSkin
setUserData
setValue
setWidth
showItem
showListOption
unload
Start
Toolbar
dhtmlXToolbar API
Methods
getPosition
returns the current position of an item
number
getPosition
(
string|number
itemId
);
itemId
string|number
the id of an item
number
the item's position
Example
var
pos
=
myToolbar.
getPosition
(
itemId
)
;
See also
API
setPosition
Articles
Common Operations with Items
Back to top