DHTMLX Docs & Samples Explorer

addNewSeparator(nextToId, itemId)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxmenu.js

add a new separator

  • nextToId - id of the element after which a new separator will be inserted
  • itemId - id of a new separator
    menu.addNewSeparator(nextToId, itemId);