From Documentation
Revision as of 07:40, 14 January 2022 by Hawk (talk | contribs) ((via JWB))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



A single column in a Columns element. Each child of the Column element is placed in each successive cell of the grid. The column with the most child elements determines the number of rows in each column. The use of column is mainly to define attributes for each cell in the grid.


ZKComRef Grid Example.png

	<window title="Grid Demo" border="normal" width="50%">
			<columns sizable="true">
				<column label="Type" hflex="min"/>
				<column label="Content" />
					<label value="File:" />
					<textbox width="99%" />
					<label value="Type:" />
						<listbox mold="select">
							<listitem label="Java Files,(*.java)" />
							<listitem label="All Files,(*.*)" />
						<button label="Browse..." />
					<label value="Options:" />
					<textbox rows="3" width="99%" />

Supported Events

Event Type
Event: SortEvent

Denotes user has sorted the row of this column.

Event: SortEvent
  • Available for ZK:
  • pe-ee.png

Denotes user has grouped all the cells under a column.

Event: SortEvent
  • Available for ZK:
  • ee.png

Since 6.5.0 Denotes user has ungrouped all the cells under a column.

Supported Children


Use Cases


Version History

Last Update : 2022/01/14

Version Date Content
6.5.0 June 2012 ZK-147: Support ungroup for grid's column menu

Last Update : 2022/01/14

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