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

getLevel

returns the level index of the specified item

number getLevel(string|number id);

Parameters

idstring|numberthe id of the node

Returns

numberthe level index of the node

Example

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

Change log

added in version 5.1

Back to top