-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.3
-
None
1.when share a listmodel with listbox and grid.
2.select any item of listbox will cause grid reload.
<zk> <window title="CHT1" border="normal" hflex="1" vflex="1"> <zscript><![CDATA[ class Obj { String str; public Obj(String str){ this.str = str; } public String toString(){ return str+"-"+new Date().getTime(); } } ListModelList model = new ListModelList(); model.add(new Obj("A")); model.add(new Obj("B")); model.add(new Obj("C")); ]]></zscript> <listbox model="${model}" onSelect="//"></listbox> <grid model="${model}"></grid> </window> </zk>