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

Listbox 's scrollbar position is not currect after invalidate() (zk max only)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.8
    • 5.0.7.1
    • Components
    • None

      <zk>
      <!-- <custom-attributes org.zkoss.zul.listbox.rod="false"/> -->
      <!-- <custom-attributes org.zkoss.zul.grid.rod="false"/> -->
      <zscript><![CDATA[
      Object[] o = new Object[300]
      ]]></zscript>
      <button label="invalidate">
      <attribute name="onClick">
      lb.invalidate();
      grid.invalidate();
      </attribute>
      </button>
      <hlayout>
      <listbox id="lb" width="100px" height="300px">
      <listitem label="item" forEach="${o}" />
      </listbox>

      <grid id="grid" width="100px" height="300px">
      <rows>
      <row forEach="${o}">item</row>
      </rows>
      </grid>

      </hlayout>
      </zk>

            jumperchen jumperchen
            jimmyshiau jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: