Check documentation for the latest version of dhtmlxSuite setItemPosition DHTMLX Docs

setItemPosition

sets a new item's position in the current polygon (moves an item inside the single level)

void setItemPosition(string|number itemId,number pos);
itemIdstring|numberthe item's id
posnumbera new item's position

Example

myMenu.setItemPosition(id, pos);

Back to top