org.zkoss.zul.listbox.checkmarkDeselectOthers"

From Documentation
(Created page with ' {{ZKConfigurationReferencePageHeader}} Default: false [Since 5.0.5] If a listbox's checkmark (<javadoc method="isCheckmark()">org.zkoss.zul.Listbox</javadoc>) is enabled, th…')
 
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
  {{ZKConfigurationReferencePageHeader}}
 
  {{ZKConfigurationReferencePageHeader}}
 +
'''Property:'''
 +
org.zkoss.zul.listbox.checkmarkDeselectOthers
 +
 +
{{NestedLibraryProperty}}
  
 
  Default: false
 
  Default: false
 
  [Since 5.0.5]
 
  [Since 5.0.5]
  
If a listbox's checkmark (<javadoc method="isCheckmark()">org.zkoss.zul.Listbox</javadoc>) is enabled, the selection will be toggled when an user clicks an item. In other words, all other items will remain the same.
+
If a Listbox's checkmark (<javadoc method="isCheckmark()">org.zkoss.zul.Listbox</javadoc>) is enabled, the selection will be toggled when an 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 can specify true to this library property. For the multiple-selection mode, you can still press *ctrl* with clicking to select multiple items.
  
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.
 
  
{{ZKConfigurationReferencePageFooter}}
+
=Version History=
 +
{{LastUpdated}}
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| 8.5.2
 +
| 2018
 +
| org.zkoss.zul.listbox.checkmarkDeselectOthers and org.zkoss.zul.tree.checkmarkDeselectOthers can now be used as custom attribute to set behaviors on individual tree or listbox components. Previously: only set globally.
 +
|
 +
|-
 +
| 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.
 +
|}
 +
{{ZKConfigurationReferencePageFooter}}

Latest revision as of 08:21, 3 July 2018


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.zul.listbox.checkmarkDeselectOthers
org.zkoss.zul.listbox.checkmarkDeselectOthers


Property:

org.zkoss.zul.listbox.checkmarkDeselectOthers
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-check-icon.png nested in a zul file via <custom-attributes>
Default: false
[Since 5.0.5]

If a Listbox's checkmark (Listbox.isCheckmark()) is enabled, the selection will be toggled when an 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 can specify true to this library property. For the multiple-selection mode, you can still press *ctrl* with clicking to select multiple items.


Version History

Last Update : 2018/07/03


Version Date Content
8.5.2 2018 org.zkoss.zul.listbox.checkmarkDeselectOthers and org.zkoss.zul.tree.checkmarkDeselectOthers can now be used as custom attribute to set behaviors on individual tree or listbox components. Previously: only set globally.
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 : 2018/07/03

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