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
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.
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.