Hide Complete Tree Level


#1

suite_6.5.6_enterprise

I would like to hide all child nodes (level=“2”) in a tree.
Can you help with this please?

Thanks


#2

Unfortunately there is no such logic in the dhtmlxTree to hiding/showing the tree nodes.
I can suggest you filter your tree, so you will “unfilter” the nodes for the level two and leave all other nodes.
Something like:
https://snippet.dhtmlx.com/fw9qatto