samples/app/src/main/webapp/resources/js/jquery.simpletreeview.js
// Recursive method which expands the specified nodes
Recursive method which expands the specified nodes
Recursive method which expands the specified nodes
function expandNode($nodes) {
			if($nodes.size() == 0) return;
			var $node = $($nodes.get(0));
			$nodes.shift();
			toggle($node, "open", function() {
				expandNode($nodes);
			});
		}
function expandNode ( $nodes ) { if ( $nodes . size ( ) == 0 ) return ; var $node = $ ( $nodes . get ( 0 ) ) ; $nodes . shift ( ) ; toggle ( $node , "open" , function ( ) { expandNode ( $nodes ) ; } ) ; }
Recursive method which expands the specified nodes
Recursive method which expands the specified nodes
// Stop recursivity when there are no more nodes to expand // Get the current node