Check documentation for the latest version 6.0 of dhtmlxSuite getItemPosition DHTMLX Docs

getItemPosition

returns item's position in the current polygon

number getItemPosition(string|number itemId);

Parameters

itemIdstring|numberthe item's id

Returns

numberitem's position

Example

var pos = myMenu.getItemPosition(itemId);

Back to top