Check documentation for the latest version of dhtmlxSuite addNewSeparator DHTMLX Docs

addNewSeparator

adds a new separator

void addNewSeparator(string|number nextToId,string|number itemId);
nextToIdstring|numberid of the element after which a new separator will be inserted
itemIdstring|numberid of a new separator

Example

myMenu.addNewSeparator(nextToId, itemId);

Back to top