Initialize from HTML
To do automatic conversion:
- Add dhtmlXTree_start.js file into the page
- Set class attribute of the top div element to dhtmlxTree
- Set some attributes defining tree-specific properties of the top div element
- setImagePath - sets path to tree's image files
- id - name of javascript variable referred to the tree object
Initilize from list
|
|
Initialize from inline XML structure
It is possible to use standard dhtmlxTree XML structure enclosed in XMP
tag inside div element which is a tree container.
For more details about dhtmlxTree XML structure see User Guide
For more details about dhtmlxTree XML structure see User Guide
Initialize from HTML using script command
It is possible to convert existing html structure calling an appropriate script command. To test it press the Confirm button.
- Root
- Child1
- Child 1-1
- Child2
- Bold Italic
- Child1