Check documentation for the latest version of dhtmlxSuite getItemPosition DHTMLX Docs

getItemPosition

returns item's position in the current polygon

number getItemPosition(string|number itemId);
itemIdstring|numberthe item's id
numberitem's position

Example

var pos = myMenu.getItemPosition(itemId);

Back to top