Tree Controls

Components: tree, treechildren, treeitem, treerow, treecell, treecols and treecol.

A tree consists of two parts, the set of columns, and the tree body. The set of columns is defined by a number of treecol components, one for each column. Each column will appear as a header at the top of the tree. The second part, the tree body, contains the data to appear in the tree and is created with a treechildren component.

An example of a tree control is as follows.

<tree id="tree" rows="5">
    <treecols>    
        <treecol label="Name"/>        
        <treecol label="Description"/>        
    </treecols>    
    <treechildren>    
        <treeitem>        
            <treerow>            
                <treecell label="Item 1"/>                
                <treecell label="Item 1 description"/>                
            </treerow>            
        </treeitem>        
        <treeitem>        
            <treerow>            
                <treecell label="Item 2"/>                
                <treecell label="Item 2 description"/>                
            </treerow>            
            <treechildren>            
                <treeitem>                
                    <treerow>                    
                        <treecell label="Item 2.1"/>                        
                    </treerow>                    
                    <treechildren>                    
                        <treeitem>                        
                            <treerow>                            
                                <treecell label="Item 2.1.1"/>                                
                            </treerow>                            
                        </treeitem>                        
                        <treeitem>                        
                            <treerow>                            
                                <treecell label="Item 2.1.2"/>                                
                            </treerow>                            
                        </treeitem>                        
                    </treechildren>                    
                </treeitem>                
                <treeitem>                
                    <treerow>                    
                        <treecell label="Item 2.2"/>                        
                        <treecell label="Item 2.2 is something who cares"/>                        
                    </treerow>                    
                </treeitem>                
            </treechildren>            
        </treeitem>        
        <treeitem label="Item 3"/>        
    </treechildren>    
</tree>

Mouseless Entry tree