Tablelayout"
From Documentation
m (→Tablelayout) |
|||
Line 4: | Line 4: | ||
*Demonstration: [http://www.zkoss.org/zkdemo/layout/table_layout Tablelayout] | *Demonstration: [http://www.zkoss.org/zkdemo/layout/table_layout Tablelayout] | ||
− | *Java API: <javadoc>org.zkoss. | + | *Java API: <javadoc>org.zkoss.zkmax.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]] | *Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Tablelayout | TableLayout]] |
Revision as of 01:30, 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 |
---|---|---|