Click to Expand Node
[ File Path: super/oneclick.html ]
Explanation of implementation method
- zTree not provide a default click to expand node feature, but can use the onClick callback functions to easily implement this feature.
- In order to avoid conflict with the double-clicking, I recommended to turn off double-clicking expand node function, please set setting.view.dblClickExpand = false
- You can hide all the +/- switch, please see the page source, see the css.
- If you do not show + / - switch, then please set 'setting.view.showLine = false' to hide line.