Tablelayout"

From Documentation
m
Line 50: Line 50:
 
=Supported Children=
 
=Supported Children=
  
<javadoc>org.zkoss.zkmax.zul.Tablechildren</javadoc>
+
*[[ZK_Component_Reference/Layouts/Tablelayout/Tablechildren | Tablechildren]]
  
 
=Use cases=
 
=Use cases=
Line 57: Line 57:
 
! Version !! Description !! Example Location
 
! Version !! Description !! Example Location
 
|-
 
|-
| 5.0+
+
| &nbsp;
 
| &nbsp;
 
| &nbsp;
 
| &nbsp;
 
| &nbsp;

Revision as of 05:05, 14 May 2010

Tablelayout

Employment/Purpose

Tablelayout lay outs a container as an HTML table whose columns can be specified, and rowspan and colspan of its child can also be specified to create complex layouts within the table.

Example

ZKComRef Tablelayout Example.PNG


<?xml version="1.0" encoding="UTF-8"?>

<?component name="panel" extends="panel" width="200px" height="200px" ?>

<zk>
	<label value="3 columns, 1 colspan, 1 rowspan" />
	<tablelayout id="tbl" columns="3">
		<tablechildren id="tc1" colspan="2">
			<panel title="table1" border="normal" maximizable="true"
				collapsible="true">
				<panelchildren>Panel</panelchildren>
			</panel>
		</tablechildren>
		<tablechildren>
			<panel title="table2" border="normal" maximizable="true"
				collapsible="true">
				<panelchildren>Panel</panelchildren>
			</panel>
		</tablechildren>
	</tablelayout>
</zk>

Supported events

Name
Event Type
None None

Supported Children

* Tablechildren

Use cases

Version Description Example Location
     

Version History

Version Date Content
5.0.2 5/12/2010 Initialization



Last Update : 2010/05/14

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