Details
-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
5.0.9
-
Security Level: Jimmy
Description
1.Select a item and scroll down to load data(rod)
2.Press CTRL and select a new item.
3.Press button
It will only return one item.
<zk> <listbox id="lb" height="400px" multiple="true"> <custom-attributes org.zkoss.zul.listbox.rod="true" scope="page" /> <zscript><![CDATA[ List list = new ArrayList(); for (int i = 0; i < 500; i++) list.add("Listitem" + i); lb.setModel(new ListModelList(list)); ]]></zscript> <listhead> <listheader>test</listheader> </listhead> </listbox> <button label="test" onClick='alert(lb.getModel().getSelection())' /> </zk>