vakata / jstree

jquery tree plugin
http://jstree.com
MIT License
5.15k stars 1.38k forks source link

When I click and expand a sub-menu, could previous expanded sub-menu close automatically? #2615

Closed wenheping closed 2 years ago

wenheping commented 2 years ago

When I click and expand a sub-menu, could previous expanded sub-menu close automatically?

vakata commented 2 years ago

Yes, you can use the open_node.jstree event to close all other opened nodes.