Check documentation for the latest version 6.0 of dhtmlxSuite addNewSeparator DHTMLX Docs

addNewSeparator

adds a new separator

void addNewSeparator(string|number nextToId,string|number itemId);

Parameters

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