Auxheader"

From Documentation
Line 3: Line 3:
 
=Auxheader=
 
=Auxheader=
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#g13 Auxheader demo]
+
*Demonstration: [http://www.zkoss.org/zkdemo/grid/merged_header Grid (Merged Header) ]
 
*Java API: <javadoc>org.zkoss.zul.Auxheader</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Auxheader</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.mesh.Auxheader</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.mesh.Auxheader</javadoc>
 +
*Style Guide: [http://books.zkoss.org/wiki/ZK_Style_Guide/XUL_Component_Specification/Auxhead Auxheader]
  
 
= Employment/Purpose =
 
= Employment/Purpose =

Revision as of 09:24, 25 November 2010

Auxheader

Employment/Purpose

The auxiliary headers support the colspan and rowspan properties which allows itself to be spanned across several columns/rows. Auxiliary headers should be accompanied with columns/listhead/treecols when used with grid/listbox/tree.

Example

An auxiliary header.


ZKComRef Auxheader.png

<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

Name
Event Type
None None

Supported Children

*None

Use cases

Version Description Example Location
     

Version History

Last Update : 2010/11/25


Version Date Content
     



Last Update : 2010/11/25

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