DHTMLX Docs & Samples Explorer

getUserData(itemId, name)

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

returns item's userdata

  • itemId - the item's id
  • name - the name of userdata (string)
    var userData = menu.getUserData(itemId, name);