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

Multi-select issue after ROD

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • 5.0.9
    • Components
    • Security Level: Jimmy

      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>

            benbai benbai
            matthewgo matthewgo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: