From Documentation



Adds the ability for single level grouping to the Grid.

Default getSclass(): the same as grid's sclass.


ZKComRef Group Example.png

<?xml version="1.0" encoding="UTF-8"?>
     Grid support Groupfoot in Group
     <grid id="grid" width="500px">
         <columns id="h" sizable="true">
             <column id="col1" label="Type"/>
             <column id="col2" label="Content"/>
         <rows id="rows">
             <group id="gp1">
             <label value="Group1: (gp1)"/>
             <label value="Group1:"/>
                 <label value="File:"/>
                 <label value="File:"/>
             <row id="row1">
                 <label value="Type:"/>
                     <listbox rows="1" mold="select">
                         <listitem label="Java Files,(*.java)"/>
                         <listitem label="All Files,(*.*)"/>
                     <button label="Browse..."/>
                 <label value="2 Java Files"/>
                 <label value="10 Files"/>
             <group id="gp2" label="Group 2 (gp2)" onOpen='alert("Group is open: ";'/>
                 <label value="Options:"/>
                 <label value="Options:"/>
                 <label value="2 Options"/>
                 <label value="10 Options"/>

Supported Events

Event Type
Event: OpenEvent

Denotes user has opened or closed a component. Note:

unlike onClose, this event is only a notification. The client sends this event after opening or closing the component.

It is useful to implement load-on-demand by listening to the onOpen event, and creating components when the first time the component is opened.

  • Inherited Supported Events: Row

Supported Children


Use Cases


Version History

Last Update : 2022/01/12

Version Date Content

Last Update : 2022/01/12

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