[jQuery] [treeview] Don't close subtree when clicking on tree "header"
I'm using treeview in one of my projects.
Treeview automatically opens and closes the subtree if you click on an
item that contains children. I need the option to allow the user to
select an item without closing the subtree.
+ item 1 <- User clicks here
| + item 1.1
| + item 1.2
+ item 2
item 1.1 and 1.2 should not disappear.
Is there a simple way to achieve that? Any help appreciated.
Thanks,
Dominik