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

Combobox does not scroll to selected item

XMLWordPrintable

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

      Select last item in comobobox.
      Open comobobox again, the scrollbar does not scroll to selected item

      <zk>
      <zscript>
      <![CDATA[
      	String[] name = new String[50];
      	for(int i=0, len=name.length; i<len; i++) {
      		name[i] = "name" + (i+1);
      	}
      	ListModelList lm = new ListModelList(name);
      ]]>
      </zscript>
      <combobox id="box" width="150px" mold="rounded" model="${lm}">
      </combobox>
      </zk>
      

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

              Created:
              Updated:
              Resolved: