Often there is a need to show a hierarchically structured data.
Our dhtmlxTree (DHTML extensions Tree) lets you do this in an easy and most comfortable way - in any browser! This JavaScript Tree Menu component allows creating user-friendly navigation bar for a commercial application or a web site. Menu items are organized into compact, hierarchical tree structure so users can find information they need easily.
Having such feature, as dynamical loading of items from XML stream allows dhtmlxTree to handle large amounts of data. Drag-and-drop makes it possible to drag items not just within one tree, but between different trees. Try by yourself now:

Drag & drop items within the trees as well as between trees
Double-click on folder label or click on [+] plus to expand subitems.

Rich client-side Javascript API gives an opportunity to change tree styles (folder images, fonts, indents, and colors) and manage any part or activity. Our DHTML tree works perfectly in all main Web-browsers for Windows, Mac OS X, Linux or Unix so you don't have to care about the browser compatibility.
dhtmlxTree has built-in checkboxes providing a handy tool for any kind of navigation system where selection lists are required.

### What's new in version 1.2* (October 20, 2005):

- XHTML compartibility
- Complex drag-n-drop (inside/between)
- Extended Serialization (userdata, more other parameters)
- Sorting (a-z,z-a)
- .Net support
- JSP support
- Event handlers for loading process
- Extended event handlers for drag-n-drop
- drag-n-Drop outside the tree
- Icon sizes now changable
- Possibility to turn +/- off
- Increased overal performance
- Disabling/hiding checkboxes
- New Samples
- More Detailed documentation
- PHP/MySQL, ASP.Net, JSP sample applications
* - some functionlity available in professional edition only

### Supported Browsers:

- IE 5.x and above
- Mac OS X Safari
- Mozilla 1.4 and above
- FireFox 0.9 and above
- Opera (Xml support depends on browser version)

### Features:*

- Multibrowser/Multiplatform support
- XHTML compartible
- Full controll with JavaScript API
- Dynamic loading
- XML support
- Extended XML serialization
- drag-&-drop (within one tree, between trees)
- copy with drag-n-drop
- drop-between/drop-inside
- checkboxes (two/three states), disabled/hidden
- customizable icons (with javascript or xml), icon size
- user data for nodes
- Async mode loading support
- .NET custom server control
- JSP custom tag
- Macromedia Cold Fusion support
- More detailed documentation
* - some functionlity available in professional edition only

### Editions

- Standard - available for free download (for non-commercial use).
- Professional - contains additional features (with examples) which are not present at standard edition. Included with Commercial and Enterprise licenses. Contact us to buy.

### Licensing

- Open Source - GPL (standard edition only)
- Commercial License (standard and professional editions): in order to use any edition of dhtmlxTree in a commercial project, get all features available in professional edition or to have support you can purchase a Commercial License ($99). Contact us to buy.

### Download:

- Full package (v.1.2 standard)
- Documentation only

### Examples:

- Initialize object
- Add/Delete items
- Attached events
- Collapse/Expand branch
- Change item text/images
- Checkboxes
- Change design
- Autoloading from xml
- Drag and Drop
- Working with database (PHP/MySQL)

### Documentation:

- API Functions and Documentation

### Download latest version of javascript tree source code

### Code Sample

    <link rel="STYLESHEET" type="text/css" href="jTreeX.css">
    <script  src="dhtmlXCommon.js"></script>
    <script  src="dhtmlXTree.js"></script>

    <script>
    	var tree1 = null;
    	function doOnLoad(){
    		tree1=new dhtmlXTreeObject('treebox1',"100%","100%",0);
    		tree1.setImagePath("imgs/");
    		tree1.enableDragAndDrop(true);
    		tree1.loadXML("tree.xml")
    	}
    </script>
    <body onload="doOnLoad()">
    <div
    	id="treebox1"
    	style="	width:250;
    		height:250;
    		background-color:#f5f5f5;
    		border :1px solid Silver;
    		overflow:auto;">
    </div>

See also our Java tree applet - jTree.