From Documentation

Jump to: navigation, search






Property:

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

Specifies whether to sort the model when the following cases:

If you want to ignore sort when receiving ListDataEvent, you can specify the value as ignore.change.

If you prefer to configure a particular component, you could specify it as the custom attribute of the component or any of its ancestor components.

<listbox>
  <custom-attributes org.zkoss.zul.listbox.autoSort="true"/>
...

Version History

Last Update : 2016/7/7


Version Date Content
5.0.7 April 2011 Listbox shall sort model based on current state.



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