Check documentation for the latest version of dhtmlxSuite getUserData DHTMLX Docs

getUserData

returns an item's userdata

mixed getUserData(string|number itemId,string name);
itemIdstring|numberthe item's id
namestringthe name of user data
mixedthe item's user data

Example

var userData = myMenu.getUserData(itemId, name);

Related samples

See also
Back to top