а

how do i can use getLevel() function in TreeView?


#1

hi there

I using Dhtmlx v.5.x version.

i can’t use getLevel() function in TreeView…

how do i can use getLevel() function in TreeView?

my source here
[

var folderLevel = folderTree.getLevel(folderTree.getSelectedId());

]


#2

Please, note that the method was added in 5.1 version of the dhtmlxTreeView.
If you are using the latest version and the problem still occurs for you please, provide a complete demo or a demo link, where the problem can be reconstructed.
Here you can find a tutorial about creating a complete demo:
docs.dhtmlx.com/tutorials__auxi … pport.html