DHTMLX Docs & Samples Explorer

getItemType(itemId)

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

return item type by id (string)

  • itemId - the item's id
    var type = menu.getItemType(itemId);