Revision history [back]

click to hide/show revision 1
initial version

answered 2020-03-18 07:24:05 +0800

MiguelMdz gravatar image MiguelMdz

Using a GroupList is a one option, or yo can does whit onChange or onSelect whit implementing a variable in the consumption method. The easy mode is: <zk> <button label="Toggle checkmark" onclick="box.checkmark = !box.checkmark"/> <listbox id="box" multiple="true" checkmark="true"> <listhead> <listheader label="Name"/> <listheader label="Gender"/> <listheader label="Age"/> <listheader label="Description"/> </listhead> <listitem> <listcell label="Mary"/> <listcell label="FEMALE"/> <listcell label="18"/> <listcell label="A young lady."/> </listitem> <listitem> <listcell label="John"/> <listcell label="MALE"/> <listcell label="20"/> <listcell label="A college student."/> </listitem> <listitem> <listcell label="Jane"/> <listcell label="FEMALE"/> <listcell label="32"/> <listcell label="A remarkable artist."/> </listitem> <listitem> <listcell label="Henry"/> <listcell label="MALE"/> <listcell label="29"/> <listcell label="A graduate."/> </listitem> </listbox>
</zk>

Using a GroupList is a one option, or yo can does whit onChange or onSelect whit implementing a variable in the consumption method. The easy mode is:

<zk>
    <button label="Toggle checkmark" onclick="box.checkmark onClick="box.checkmark = !box.checkmark"/>
    <listbox id="box" multiple="true" checkmark="true">
        <listhead>
            <listheader label="Name"/>
            <listheader label="Gender"/>
            <listheader label="Age"/>
            <listheader label="Description"/>
        </listhead>
        <listitem>
            <listcell label="Mary"/>
            <listcell label="FEMALE"/>
            <listcell label="18"/>
            <listcell label="A young lady."/>
        </listitem>
        <listitem>
            <listcell label="John"/>
            <listcell label="MALE"/>
            <listcell label="20"/>
            <listcell label="A college student."/>
        </listitem>
        <listitem>
            <listcell label="Jane"/>
            <listcell label="FEMALE"/>
            <listcell label="32"/>
            <listcell label="A remarkable artist."/>
        </listitem>
        <listitem>
            <listcell label="Henry"/>
            <listcell label="MALE"/>
            <listcell label="29"/>
            <listcell label="A graduate."/>
        </listitem>
    </listbox> 
</zk>

</zk>
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More