Check documentation for the
latest version of dhtmlxSuite
addNewSeparator DHTMLX Docs
Samples
Forum
Support
Documentation
/
Suite 5.X
addCheckbox
addContextZone
addNewChild
addNewSeparator
addNewSibling
addRadioButton
attachEvent
clearAll
clearHref
clearItemImage
detachEvent
enableDynamicLoading
enableEffect
forEachItem
getCheckboxState
getCircuit
getContextMenuHideAllMode
getHotKey
getItemImage
getItemPosition
getItemText
getItemType
getParentId
getRadioChecked
getTooltip
getUserData
hide
hideContextMenu
hideItem
isContextZone
isItemEnabled
isItemHidden
loadFromHTML
loadStruct
loadXML
loadXMLString
removeContextZone
removeItem
renderAsContextMenu
serialize
setAlign
setAutoHideMode
setAutoShowMode
setCheckboxState
setContextMenuHideAllMode
setHotKey
setHref
setIconPath
setIconsPath
setIconset
setImagePath
setItemDisabled
setItemEnabled
setItemImage
setItemPosition
setItemText
setOpenMode
setOverflowHeight
setRadioChecked
setSkin
setTooltip
setTopText
setUserData
setVisibleArea
setWebModeTimeout
showContextMenu
showItem
unload
Start
Menu
dhtmlXMenu API
Methods
addNewSeparator
adds a new separator
void
addNewSeparator
(
string|number
nextToId
,
string|number
itemId
);
nextToId
string|number
id of the element after which a new separator will be inserted
itemId
string|number
id of a new separator
Example
myMenu.
addNewSeparator
(
nextToId
,
itemId
)
;
Back to top