Check documentation for the latest version of dhtmlxSuite getLevel DHTMLX Docs

getLevel

gets the node's level (position in the hierarchy)

number getLevel(string|number id);
idstring|numberthe node's id
numberthe node's level in the hierarchy
Back to top