tabpanel

Purpose

A tabpanel is the body of a single tab panel. You would place the content for a group of components within a tab panel. The first tabpanel corresponds to the first tab, the second tabpanel corresponds to the second tab and so on.

Examples

<z:tabbox width="400px" height="100px">
    <z:tabs>
        <z:tab label="Tab 1"/>
        <z:tab label="Tab 2"/>
    </z:tabs>
    <z:tabpanels>
        <z:tabpanel>This is panel 1</z:tabpanel>
        <z:tabpanel>This is panel 2</z:tabpanel>
    </z:tabpanels>
</z:tabbox>
<z:space/>
<z:tabbox width="400px" mold="accordion">
    <z:tabs>
        <z:tab label="Tab 3"/>
        <z:tab label="Tab 4"/>
    </z:tabs>
    <z:tabpanels>
        <z:tabpanel>This is panel 3</z:tabpanel>
        <z:tabpanel>This is panel 4</z:tabpanel>
    </z:tabpanels>
</z:tabbox>

Description

Attributes

ZK Official Reference

Component Reference

Show tabpanel Component Reference

Java API

Show tabpanel Java API