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

Listgroup checkmark wrong display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.1
    • 7.0.0
    • Components
    • None
    • None

      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>
      

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

              Created:
              Updated:
              Resolved: