Bandpopup"

From Documentation
Line 26: Line 26:
 
</hbox>
 
</hbox>
 
<listbox width="200px"
 
<listbox width="200px"
onSelect="bd.value=self.selectedItem.label;   bd.closeDropdown();">
+
onSelect="bd.value=self.selectedItem.label;bd.close();">
 
<listhead>
 
<listhead>
 
<listheader label="Name" />
 
<listheader label="Name" />

Revision as of 20:49, 2 December 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

ZKComRef Bandbox Example.png

   
<bandbox id="bd">
	<bandpopup>
		<vbox>
			<hbox>
				Search
				<textbox />
			</hbox>
			<listbox width="200px"
				onSelect="bd.value=self.selectedItem.label;bd.close();">
				<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

Name
Event Type
None None


Supported Children

*All

Use Cases

Version Description Example Location
     

Version History

Last Update : 2010/12/02


Version Date Content
     



Last Update : 2010/12/02

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.