DHTMLX Docs & Samples Explorer

getType(itemId)

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

return item type by item id (string)

  • itemId
    var type = toolbar.getType(itemId);