Bandpopup"
From Documentation
Line 13: | Line 13: | ||
= Example = | = Example = | ||
+ | [[Image:ZKComRef_Bandpopup_Example.png]] | ||
− | + | <source lang="xml" > | |
− | + | ||
− | + | <bandbox id="bd"> | |
+ | <bandpopup> | ||
+ | <vbox> | ||
+ | <hbox> | ||
+ | Search | ||
+ | <textbox /> | ||
+ | </hbox> | ||
+ | <listbox width="200px" | ||
+ | onSelect="bd.value=self.selectedItem.label; bd.closeDropdown();"> | ||
+ | <listhead> | ||
+ | <listheader label="Name" /> | ||
+ | <listheader label="Description" /> | ||
+ | </listhead> | ||
+ | <listitem> | ||
+ | <listcell label="John" /> | ||
+ | <listcell label="CEO" /> | ||
+ | </listitem> | ||
+ | <listitem> | ||
+ | <listcell label="Joe" /> | ||
+ | <listcell label="Engineer" /> | ||
+ | </listitem> | ||
+ | <listitem> | ||
+ | <listcell label="Mary" /> | ||
+ | <listcell label="Supervisor" /> | ||
+ | </listitem> | ||
+ | </listbox> | ||
+ | </vbox> | ||
+ | </bandpopup> | ||
+ | </bandbox> | ||
+ | </source> | ||
=Supported events= | =Supported events= |
Revision as of 07:28, 12 May 2010
Bandpopup
Employment/Purpose
The popup that belongs to a Bandbox instance.
Developer usually listen to the onOpen event that is sent to Bandbox and then creates proper components as children of this component.
Example
<bandbox id="bd">
<bandpopup>
<vbox>
<hbox>
Search
<textbox />
</hbox>
<listbox width="200px"
onSelect="bd.value=self.selectedItem.label; bd.closeDropdown();">
<listhead>
<listheader label="Name" />
<listheader label="Description" />
</listhead>
<listitem>
<listcell label="John" />
<listcell label="CEO" />
</listitem>
<listitem>
<listcell label="Joe" />
<listcell label="Engineer" />
</listitem>
<listitem>
<listcell label="Mary" />
<listcell label="Supervisor" />
</listitem>
</listbox>
</vbox>
</bandpopup>
</bandbox>
Supported events
None | None |
Supported Children
*ALL
Use cases
Version | Description | Example Location |
---|---|---|
5.0+ |
Version History
Version | Date | Content |
---|---|---|
5.x.x | x/x/20xx | Initialization |