DHTMLX Docs & Samples Explorer

getItemImage(itemId)

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

returns item's image - array(img, imgDis)

  • itemId - the item
    var imgs = menu.getItemImage(itemId); // returns [img, imgDis]