Keep Single Path
[ File Path: super/singlepath.html ]
Explanation of implementation method
- This Demo is the transformation from "Click to Expand Node" demo, tree only expand single path.
- Use 'setting.callback.beforeExpand / onExpand' callback function to achieve rules about expand