New Features of ZK 5.0.5"

From Documentation
m
Line 1: Line 1:
=Specify clicking a Listbox item will deselect others=
+
=Specify whether clicking a Listitem will uncheck others=
  
 
When clicking a listitem with a checkbox in ZK 5.0.4 and earlier the checkbox would become checked and uncheck the other rows. Since, ZK 5.0.5 the spec has been changed and by default when clicking a listitem it will become checked but will not uncheck other rows. If you prefer to uncheck other rows when clicking a listitem you can specify true to this library property called org.zkoss.zul.listbox.checkmarkDeselectOthers in WEB-INF/zk.xml.
 
When clicking a listitem with a checkbox in ZK 5.0.4 and earlier the checkbox would become checked and uncheck the other rows. Since, ZK 5.0.5 the spec has been changed and by default when clicking a listitem it will become checked but will not uncheck other rows. If you prefer to uncheck other rows when clicking a listitem you can specify true to this library property called org.zkoss.zul.listbox.checkmarkDeselectOthers in WEB-INF/zk.xml.
  
 
For more information please refer to the [[ZK_Component_Reference/Data/Listbox#Deselect_others_when_clicking_an_item_with_checkmark | ZK Component Reference]].
 
For more information please refer to the [[ZK_Component_Reference/Data/Listbox#Deselect_others_when_clicking_an_item_with_checkmark | ZK Component Reference]].

Revision as of 07:58, 26 October 2010

Specify whether clicking a Listitem will uncheck others

When clicking a listitem with a checkbox in ZK 5.0.4 and earlier the checkbox would become checked and uncheck the other rows. Since, ZK 5.0.5 the spec has been changed and by default when clicking a listitem it will become checked but will not uncheck other rows. If you prefer to uncheck other rows when clicking a listitem you can specify true to this library property called org.zkoss.zul.listbox.checkmarkDeselectOthers in WEB-INF/zk.xml.

For more information please refer to the ZK Component Reference.