3 name: options-oncreateli
6 The function is called for each created node. You can use this to define extra html.
11 onCreateLi: function(node, $li) {
12 // Add 'icon' span before title
13 $li.find('.jqtree-title').before('<span class="icon"></span>');