-
Bug
-
Resolution: Fixed
-
Normal
-
5.0.8
-
None
For example,
<window> 1. Please scroll to the middle of the list, and then press the button "Refresh !". <separator/> 2. You should see the list reset to the top of the list and display well(the first one should display "Option 0"). <button id="btnRefresh" label="Refresh !"> <attribute name="onClick"> grid.setModel(new org.zkoss.zktest.test2.grid.FakeListModel(200)); </attribute> </button> <zscript> ListModel strset = new org.zkoss.zktest.test2.grid.FakeListModel(2000); </zscript> <custom-attributes org.zkoss.zul.grid.rod="true"/> <grid id="grid" width="200px" height="300px" model="${strset}"> <columns> <column label="Load on Demend" sort="auto"/> </columns> </grid> </window>