Listgroupfoot"
From Documentation
Zkwikiadmin (talk | contribs) m (Created page with 'init') |
m ((via JWB)) |
||
(13 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{ZKComponentReferencePageHeader}} | |
+ | |||
+ | = Listgroupfoot = | ||
+ | |||
+ | *Demonstration: N/A | ||
+ | *Java API: <javadoc>org.zkoss.zul.Listgroupfoot</javadoc> | ||
+ | *JavaScript API: <javadoc directory="jsdoc">zkex.sel.Listgroupfoot</javadoc> | ||
+ | *Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Listgroupfoot| Listgroupfoot]] | ||
+ | *{{ZK PE and EE}} | ||
+ | |||
+ | = Employment/Purpose = | ||
+ | |||
+ | GroupFooter serves as a summary listitem of listgroup. | ||
+ | |||
+ | = Example = | ||
+ | |||
+ | [[Image:ZKComRef_Listgroup_Example.PNG]] | ||
+ | |||
+ | |||
+ | <source lang="xml" > | ||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <zk> | ||
+ | Listbox support Grouping | ||
+ | <listbox id="listbox" width="250px"> | ||
+ | <listhead sizable="true" id="h"> | ||
+ | <listheader id="h1" label="name" sort="auto" /> | ||
+ | <listheader id="h2" label="gender" sort="auto" /> | ||
+ | </listhead> | ||
+ | <listgroup id="gp1" open="false"> | ||
+ | <listcell label="Group1"/> | ||
+ | <listcell label="Group2"/> | ||
+ | </listgroup> | ||
+ | <listitem> | ||
+ | <listcell label="a Mary" /> | ||
+ | <listcell label="a FEMALE" /> | ||
+ | </listitem> | ||
+ | <listitem> | ||
+ | <listcell label="b Mary" /> | ||
+ | <listcell label="b FEMALE" /> | ||
+ | </listitem> | ||
+ | <listitem id="li1"> | ||
+ | <listcell label="c Mary1" /> | ||
+ | <listcell label="c FEMALE1" /> | ||
+ | </listitem> | ||
+ | <listitem> | ||
+ | <listcell label="d Mary" /> | ||
+ | <listcell label="d FEMALE" /> | ||
+ | </listitem> | ||
+ | <listitem> | ||
+ | <listcell label="e John" /> | ||
+ | <listcell label="e MALE" /> | ||
+ | </listitem> | ||
+ | <listgroupfoot id="f1"> | ||
+ | <listcell label="10 emails" /> | ||
+ | <listcell label="zk1" /> | ||
+ | </listgroupfoot> | ||
+ | <listgroup id="g2" label="Grouping 2" /> | ||
+ | <listitem> | ||
+ | <listcell label="Jane" /> | ||
+ | <listcell label="FEMALE" /> | ||
+ | </listitem> | ||
+ | <listitem> | ||
+ | <listcell label="Henry" /> | ||
+ | <listcell label="MALE" /> | ||
+ | </listitem> | ||
+ | |||
+ | </listbox> | ||
+ | </zk> | ||
+ | </source> | ||
+ | |||
+ | =Supported Events= | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! <center>Name</center> | ||
+ | ! <center>Event Type</center> | ||
+ | |- | ||
+ | | None | ||
+ | | None | ||
+ | |} | ||
+ | *Inherited Supported Events: [[ZK_Component_Reference/Data/Listbox/Listitem#Supported_Events | Listitem]] | ||
+ | |||
+ | =Supported Children= | ||
+ | |||
+ | <javadoc>org.zkoss.zul.Listcell</javadoc> | ||
+ | |||
+ | =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 11:05, 7 January 2022
Listgroupfoot
- Demonstration: N/A
- Java API: Listgroupfoot
- JavaScript API: Listgroupfoot
- Style Guide: Listgroupfoot
- Available for ZK:
Employment/Purpose
GroupFooter serves as a summary listitem of listgroup.
Example
<?xml version="1.0" encoding="UTF-8"?>
<zk>
Listbox support Grouping
<listbox id="listbox" width="250px">
<listhead sizable="true" id="h">
<listheader id="h1" label="name" sort="auto" />
<listheader id="h2" label="gender" sort="auto" />
</listhead>
<listgroup id="gp1" open="false">
<listcell label="Group1"/>
<listcell label="Group2"/>
</listgroup>
<listitem>
<listcell label="a Mary" />
<listcell label="a FEMALE" />
</listitem>
<listitem>
<listcell label="b Mary" />
<listcell label="b FEMALE" />
</listitem>
<listitem id="li1">
<listcell label="c Mary1" />
<listcell label="c FEMALE1" />
</listitem>
<listitem>
<listcell label="d Mary" />
<listcell label="d FEMALE" />
</listitem>
<listitem>
<listcell label="e John" />
<listcell label="e MALE" />
</listitem>
<listgroupfoot id="f1">
<listcell label="10 emails" />
<listcell label="zk1" />
</listgroupfoot>
<listgroup id="g2" label="Grouping 2" />
<listitem>
<listcell label="Jane" />
<listcell label="FEMALE" />
</listitem>
<listitem>
<listcell label="Henry" />
<listcell label="MALE" />
</listitem>
</listbox>
</zk>
Supported Events
None | None |
- Inherited Supported Events: Listitem
Supported Children
Listcell
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|