Archive for March, 2012

How to make DynaTree nodes expand only on clicking the arrows at the corners


In DynaTree sometimes you may want the nodes to not expand when yo click on them -  usually it expands it whether you click on the arrow at the corner or anywhere on the entire node text – so if you don’t want that behavior you need to initialize the tree with clickFolderMode: 1 and that’s it!

For details of how to initialize the DynaTree, check out the sample code in section 4.1 in DynaTree Documentation

, , , ,

Leave a Comment

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: