org.zkoss.zul.tree.checkmarkDeselectOthers"

From Documentation
m
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
'''Property:'''
 
'''Property:'''
 
  org.zkoss.zul.tree.checkmarkDeselectOthers
 
  org.zkoss.zul.tree.checkmarkDeselectOthers
 +
 +
{{GlobalLibraryProperty}}
  
 
  Default: false
 
  Default: false
Line 16: Line 18:
 
|-
 
|-
 
| 5.0.5
 
| 5.0.5
| October 2010
+
| September 2010
| org.zkoss.zul.listbox.rightSelect and org.zkoss.zul.tree.rightSelect are introduced to control whether to toggle item selection or not when an item is right clicked on a tree or a listbox with checkmark.
+
| org.zkoss.zul.listbox.checkmarkDeselectOthers and org.zkoss.zul.tree.checkmarkDeselectOthers are introduced to control how to select items when an item is clicked on a tree or a listbox with checkmark.
|-
 
| 5.0.7
 
| April 2011
 
| org.zkoss.zul.listbox.rightSelect and org.zkoss.zul.tree.rightSelect could be specified as component's attribute (<javadoc type="interface" method="getAttribute(java.lang.String, boolean)">org.zkoss.zk.ui.Component</javadoc>).
 
 
|}
 
|}
 
{{ZKConfigurationReferencePageFooter}}
 
{{ZKConfigurationReferencePageFooter}}

Latest revision as of 11:01, 7 July 2016


org.zkoss.zul.tree.checkmarkDeselectOthers


Property:

org.zkoss.zul.tree.checkmarkDeselectOthers
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: false
[Since 5.0.5]

If a tree's checkmark (Tree.isCheckmark()) is enabled, the selection will be toggled when a user clicks an item. In other words, all other items will remain the same.

If you prefer to deselect all other items and select the item being clicked (which the behavior of ZK 5.0.4 and earlier), you could specify true to this library property.

Version History

Last Update : 2016/07/07


Version Date Content
5.0.5 September 2010 org.zkoss.zul.listbox.checkmarkDeselectOthers and org.zkoss.zul.tree.checkmarkDeselectOthers are introduced to control how to select items when an item is clicked on a tree or a listbox with checkmark.


Last Update : 2016/07/07

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.