bandbox

Purpose

A bandbox is a special text box that embeds a customizable popup window (aka., a dropdown window). Like comboboxes, a bandbox consists of an input box and a popup window. The popup window is opened automatically, when users presses Alt+DOWN or clicks the magnifier button.Unlike comboboxes, the popup window of a bandbox could be anything. It is designed to give developers the maximal flexibility. A typical use is to represent the popup window as a search dialog.

Examples

<z:bandbox>
    <z:bandpopup>
        <z:vbox>
            <z:hbox>
                <z:label value="Search"/>
                <z:textbox/>
            </z:hbox>
            <z:listbox width="200px">
                <z:listhead>
                    <z:listheader label="Name"/>
                    <z:listheader label="Description"/>
                </z:listhead>
                <z:listitem>
                    <z:listcell label="John"/>
                    <z:listcell label="CEO"/>
                </z:listitem>
                <z:listitem>
                    <z:listcell label="Joe"/>
                    <z:listcell label="Engineer"/>
                </z:listitem>
                <z:listitem>
                    <z:listcell label="Mary"/>
                    <z:listcell label="Supervisor"/>
                </z:listitem>
            </z:listbox>
        </z:vbox>
    </z:bandpopup>
</z:bandbox>

Description

Attributes

ZK Official Reference

Component Reference

Show bandbox Component Reference

Java API

Show bandbox Java API