lockItem is not working

Hi,

I’m trying to use the lockItem function in my js, and couldn’t make it work. So I tried the exmaple on your website: dhtmlx.com/docs/products/dht … _tree.html

It’s not working either. For exmaple, I locked the node “Dan Brown”. Even though the icon changed for this node, I could still expand/collapse the node. Please advice. Thank you!

Hi
Have you included dhtmlxtree_li.js extention in the library? It is PRO possibility.
docs.dhtmlx.com/doku.php?id=dhtm … lockitem&s[]=lockItem

Hi,

Yes, I included the required js file. Also, I assume the sample page must have included the js file? It’s not working even there…

Thanks.

So, if you use the PRO Edition and you have active support subscribtion, please create a ticket in the online support system and attach completed demo.
docs.dhtmlx.com/doku.php?id=othe … leted_demo