JSTree select_node event and checkbox
Posted
by
Ted Mosbey
on Stack Overflow
See other posts from Stack Overflow
or by Ted Mosbey
Published on 2011-01-05T10:06:23Z
Indexed on
2011/01/17
16:53 UTC
Read the original article
Hit count: 242
Hi there!
I have a jstree in which I used the select_node event to toggle nodes(expand), and have therefore removed the toggle arrows in the tree since they look ugly and I've no need for them.
Now I've added the checkbox plugin to use within the tree, but have found the select_node event is disabled when the plugin is active.
How would I toggle my nodes with the checkbox plugin active, without re-adding the ugly toggle arrows? I could do it in the check/uncheck event, but I don't want to check/uncheck everytime I expand a node.
© Stack Overflow or respective owner