Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2053

Listgroup checkmark wrong display

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.1
    • Component/s: Components
    • Labels:
      None

      Description

      1. The checkmark's position is wrong when selected all.
      2. If the listbox's multiple attribute is false, the listgroup should not show checkmark.

      <zk>
      <listbox checkmark="true"  multiple="true" >
      	<custom-attributes org.zkoss.zul.listbox.groupSelect="true" />
      	<custom-attributes org.zkoss.zul.listbox.rod="false" />
      	<listhead>
      		<listheader label="C" />
      	</listhead>
      	<listgroup label="A"/>
      	<listitem>
      		<listcell label="A1"/>
      	</listitem>
      	<listitem>
      		<listcell label="A2" />
      	</listitem>
      	<listgroup label="B"/>
      	<listitem>
      		<listcell label="B1"/>
      	</listitem>
      	<listitem>
      		<listcell label="B2"/>
      	</listitem>
      </listbox>
      <listbox checkmark="true"  multiple="false" >
      	<custom-attributes org.zkoss.zul.listbox.groupSelect="true" />
      	<custom-attributes org.zkoss.zul.listbox.rod="false" />
      	<listhead menupopup="auto" >
      		<listheader label="R" />
      	</listhead>
      	<listgroup label="A"/>
      	<listitem>
      		<listcell label="A1"/>
      	</listitem>
      	<listitem>
      		<listcell label="A2" />
      	</listitem>
      	<listgroup label="B"/>
      	<listitem>
      		<listcell label="B1"/>
      	</listitem>
      	<listitem>
      		<listcell label="B2"/>
      	</listitem>
      </listbox>
      </zk>
      

        Attachments

          Activity

            People

            Assignee:
            danchen0720 danchen0720
            Reporter:
            RaymondChao RaymondChao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: