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

getLevel

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

number getLevel(string|number id);

Parameters

idstring|numberthe node's id

Returns

numberthe node's level in the hierarchy
Back to top