Tablelayout"
From Documentation
Tmillsclare (talk | contribs) |
m (→Tablelayout) |
||
Line 3: | Line 3: | ||
= Tablelayout = | = Tablelayout = | ||
− | *Demonstration: [http://www.zkoss.org/zkdemo/ | + | *Demonstration: [http://www.zkoss.org/zkdemo/layout/table_layout Tablelayout] |
*Java API: <javadoc>org.zkoss.zkex.zul.Tablelayout</javadoc> | *Java API: <javadoc>org.zkoss.zkex.zul.Tablelayout</javadoc> | ||
*JavaScript API: <javadoc directory="jsdoc">zkmax.layout.Tablelayout</javadoc> | *JavaScript API: <javadoc directory="jsdoc">zkmax.layout.Tablelayout</javadoc> | ||
+ | *Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Tablelayout | TableLayout]] | ||
= Employment/Purpose = | = Employment/Purpose = |
Revision as of 01:19, 18 November 2010
Tablelayout
- Demonstration: Tablelayout
- Java API: Tablelayout
- JavaScript API: Tablelayout
- Style Guide: 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
<?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
None | None |
Supported Children
* Tablechildren
Use cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|