Check documentation for the latest version of dhtmlxSuite getLevel DHTMLX Docs

getLevel

returns the level index of the specified item

number getLevel(string|number id);
idstring|numberthe id of the node
numberthe level index of the node

Example

var level = myTreeView.getLevel("node1");

Change log

added in version 5.1

Back to top