-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.0
-
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>