Treefoot

A treefoot is main part of tree which contains set of footers. The set of footers is defined by a number of treefooter components. Each column will appear as a footer at the bottom of the tree.

<window title="tree demo" border="normal">
    <tree id="tree" width="400px" rows="5">    
        <treecols sizable="true">        
            <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>                        
                    </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>        
        <treefoot>        
            <treefooter label="Count"/>            
            <treefooter label="Summary"/>            
        </treefoot>        
    </tree>    
</window>

Class Name

org.zkoss.zul.Treefoot

Supported Child Components

Treefooter

Supported Events

*None

Properties

*None

Methods

Name

Description

Data Type

Values

getTree

Returns the tree that it belongs to.

Tree

Inherited From