TableChildren"

From Documentation
Line 12: Line 12:
  
 
The cell of Tablelayout. In ZK5 or before, the child component of Tablechildren only can be Panel.
 
The cell of Tablelayout. In ZK5 or before, the child component of Tablechildren only can be Panel.
After ZK6, the child of tablechildren can be any component.
+
 
 +
[since 6.0.0]
 +
 
 +
The child of tablechildren can be any component.
  
 
= Example =
 
= Example =
Line 49: Line 52:
 
</source>
 
</source>
  
Example for ZK6 or after:
+
[since 6.0.0]
 +
 
 +
The child of tablechildren can be any component.
  
 
[[Image:ZKComRef_Tablelayout_Example_ZK6.PNG‎]]
 
[[Image:ZKComRef_Tablelayout_Example_ZK6.PNG‎]]
Line 85: Line 90:
 
=Supported Children=
 
=Supported Children=
  
  *[[ZK_Component_Reference/Containers/Panel | Panel]] ( ZK5 or before )
+
  *[[ZK_Component_Reference/Containers/Panel | Panel]]
 
+
[since 6.0.0]
  * Any ( ZK6 or after )
+
  * Any
  
 
=Use Cases=
 
=Use Cases=

Revision as of 02:48, 16 November 2011

Tablechildren

Employment/Purpose

The cell of Tablelayout. In ZK5 or before, the child component of Tablechildren only can be Panel.

[since 6.0.0]

The child of tablechildren can be any component.

Example

Example for ZK5 or before:

ZKComRef Tablelayout Example.PNG

<tablelayout columns="2">
	<tablechildren>
		<panel title="Table 1" border="normal" maximizable="true"
			collapsible="true" width="200px" height="200px">
			<panelchildren>Panel Content</panelchildren>
		</panel>
	</tablechildren>
	<tablechildren>
		<panel title="Table 2" border="normal" maximizable="true"
			collapsible="true" width="200px" height="200px">
			<panelchildren>Panel Content</panelchildren>
		</panel>
	</tablechildren>
	<tablechildren>
		<panel title="Table 3" border="normal" maximizable="true"
			collapsible="true" width="200px" height="200px">
			<panelchildren>Panel Content</panelchildren>
		</panel>
	</tablechildren>
	<tablechildren>
		<panel title="Table 4" border="normal" maximizable="true"
			collapsible="true" width="200px" height="200px">
			<panelchildren>Panel Content</panelchildren>
		</panel>
	</tablechildren>
</tablelayout>

[since 6.0.0]

The child of tablechildren can be any component.

ZKComRef Tablelayout Example ZK6.PNG

	<tablelayout columns="2">
	    <tablechildren>
	        <label value="Table 1" />
	    </tablechildren>
	    <tablechildren>
	        <button label="Table 2" />
	    </tablechildren>
	    <tablechildren>
	        <textbox value="Table 3" />
	    </tablechildren>
	    <tablechildren>
	        <window border="normal">
	        	Table 4
	        </window>
	    </tablechildren>
	</tablelayout>

Supported Events

Name
Event Type
None None

Supported Children

* Panel

[since 6.0.0]

* Any

Use Cases

Tablelayout

Version History

Last Update : 2011/11/16


Version Date Content
     



Last Update : 2011/11/16

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