Limit depth of tree

Is there a way to limit the depth of the tree, even when using drag-n-drop? I want the tree to have no more than 5 levels.


dhtmlxTree doesn’t have such limit

Could I make an enhancement request for this feature?

You can use drag and drop events to disable dropping item on level bigger that 5. Please find more information here … p_handling … s_handling