Auxhead"
From Documentation
Zkwikiadmin (talk | contribs) m (Created page with 'init') |
m ((via JWB)) |
||
(19 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{ZKComponentReferencePageHeader}} | |
+ | |||
+ | = Auxhead = | ||
+ | |||
+ | *Demonstration: [http://www.zkoss.org/zkdemo/grid/merged_header Grid (Merged Header) ] | ||
+ | *Java API: <javadoc>org.zkoss.zul.Auxhead</javadoc> | ||
+ | *JavaScript API: <javadoc directory="jsdoc">zul.mesh.Auxhead</javadoc> | ||
+ | *Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Auxhead| Auxhead]] | ||
+ | |||
+ | = Employment/Purpose = | ||
+ | Used to define a collection of auxiliary headers (<code>Auxheader</code>). | ||
+ | |||
+ | = Example = | ||
+ | |||
+ | [[Image:ZKComRef_Auxheader.png]] | ||
+ | |||
+ | <source lang="xml" > | ||
+ | <grid> | ||
+ | <auxhead> | ||
+ | <auxheader label="H1'07" colspan="6" /> | ||
+ | <auxheader label="H2'07" colspan="6" /> | ||
+ | </auxhead> | ||
+ | <auxhead> | ||
+ | <auxheader label="Q1" colspan="3" /> | ||
+ | <auxheader label="Q2" colspan="3" /> | ||
+ | <auxheader label="Q3" colspan="3" /> | ||
+ | <auxheader label="Q4" colspan="3" /> | ||
+ | </auxhead> | ||
+ | <columns> | ||
+ | <column label="Jan" /> | ||
+ | <column label="Feb" /> | ||
+ | <column label="Mar" /> | ||
+ | <column label="Apr" /> | ||
+ | <column label="May" /> | ||
+ | <column label="Jun" /> | ||
+ | <column label="Jul" /> | ||
+ | <column label="Aug" /> | ||
+ | <column label="Sep" /> | ||
+ | <column label="Oct" /> | ||
+ | <column label="Nov" /> | ||
+ | <column label="Dec" /> | ||
+ | </columns> | ||
+ | <rows> | ||
+ | <row> | ||
+ | <label value="1,000" /> | ||
+ | <label value="1,100" /> | ||
+ | <label value="1,200" /> | ||
+ | <label value="1,300" /> | ||
+ | <label value="1,400" /> | ||
+ | <label value="1,500" /> | ||
+ | <label value="1,600" /> | ||
+ | <label value="1,700" /> | ||
+ | <label value="1,800" /> | ||
+ | <label value="1,900" /> | ||
+ | <label value="2,000" /> | ||
+ | <label value="2,100" /> | ||
+ | </row> | ||
+ | </rows> | ||
+ | </grid> | ||
+ | </source> | ||
+ | |||
+ | =Supported Events= | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! <center>Name</center> | ||
+ | ! <center>Event Type</center> | ||
+ | |- | ||
+ | | None | ||
+ | | None | ||
+ | |} | ||
+ | |||
+ | *Inherited Supported Events: [[ZK_Component_Reference/Base_Components/XulElement#Supported_Events | XulElement]] | ||
+ | |||
+ | =Supported Children= | ||
+ | |||
+ | *[[ZK_Component_Reference/Supplementary/Auxheader | Auxheader]] | ||
+ | |||
+ | =Use Cases= | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! Version !! Description !! Example Location | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | =Version History= | ||
+ | {{LastUpdated}} | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! Version !! Date !! Content | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | {{ZKComponentReferencePageFooter}} |
Latest revision as of 14:09, 12 January 2022
Auxhead
- Demonstration: Grid (Merged Header)
- Java API: Auxhead
- JavaScript API: Auxhead
- Style Guide: Auxhead
Employment/Purpose
Used to define a collection of auxiliary headers (Auxheader
).
Example
<grid>
<auxhead>
<auxheader label="H1'07" colspan="6" />
<auxheader label="H2'07" colspan="6" />
</auxhead>
<auxhead>
<auxheader label="Q1" colspan="3" />
<auxheader label="Q2" colspan="3" />
<auxheader label="Q3" colspan="3" />
<auxheader label="Q4" colspan="3" />
</auxhead>
<columns>
<column label="Jan" />
<column label="Feb" />
<column label="Mar" />
<column label="Apr" />
<column label="May" />
<column label="Jun" />
<column label="Jul" />
<column label="Aug" />
<column label="Sep" />
<column label="Oct" />
<column label="Nov" />
<column label="Dec" />
</columns>
<rows>
<row>
<label value="1,000" />
<label value="1,100" />
<label value="1,200" />
<label value="1,300" />
<label value="1,400" />
<label value="1,500" />
<label value="1,600" />
<label value="1,700" />
<label value="1,800" />
<label value="1,900" />
<label value="2,000" />
<label value="2,100" />
</row>
</rows>
</grid>
Supported Events
None | None |
- Inherited Supported Events: XulElement
Supported Children
* Auxheader
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|