Three Ways to Define a TreeView: Markup (Progressive Enhancement), Existing TreeView Instance, and Object Literal

In this simple example you can see how to build TreeView Control from existing HTML markup and from a previous tree definition or from a branch of it.

Tree from markup

Copy of the tree above taken from its own definition

Copy of the second branch of the tree at the top

Tree built from a static definition