-
Bug
-
Resolution: Fixed
-
Normal
-
5.0.8, Freshly
-
None
For example, please click "add Frozen" and then click "invalidate" will cause JS error.
<zk>
<separator/>
1.click "add frozen"
<separator/>
2.scroll right to column 5
<separator/>
3.click "delete frozen"
<separator/>
4.see if column 1 to column5 can be see by scroll left and right
<separator/>
<button label="add Frozen ">
<attribute name="onClick"><![CDATA[
Frozen fz = new Frozen();
fz.setColumns(1);
grid.appendChild(fz);
]]></attribute>
</button>
<button label="delete Frozen ">
<attribute name="onClick"><![CDATA[
grid.getFrozen().detach();
]]></attribute>
</button> <button label="invalidate" onClick="grid.invalidate();"/>
<grid id="grid" width="250px">
<columns>
<column label="column ${each}" forEach="1,2,3,4,5"
width="100px" />
</columns>
<rows>
<row forEach="1,2,3,4,5">
<label value="item ${each}" forEach="1,2,3,4,5" />
</row>
</rows>
</grid>
</zk>