-
Hello, could you help me with this code extract below ? Setting the state to { opened: true } does indeed open the tree, but using { opened: false} doesn't work (the tree stays opened) Thanks,
|
Beta Was this translation helpful? Give feedback.
Answered by
evinck
Mar 26, 2024
Replies: 1 comment
-
solution is to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
evinck
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
solution is to use
$('#json-tree').jstree(true).close_all();
and$('#json-tree').jstree(true).open_all();
instead