org.zkoss.zul.listbox.autoSort"
From Documentation
m |
Robertwenzel (talk | contribs) m |
||
Line 2: | Line 2: | ||
'''Property:''' | '''Property:''' | ||
org.zkoss.zul.listbox.autoSort | org.zkoss.zul.listbox.autoSort | ||
+ | |||
+ | {{NestedLibraryProperty}} | ||
Default: false | Default: false |
Latest revision as of 10:20, 7 July 2016
Property:
org.zkoss.zul.listbox.autoSort
Applicable: globally in zk.xml via <library-property> nested in a zul file via <custom-attributes>
Default: false [Since 5.0.7]
Specifies whether to sort the model when the following cases:
- Listbox.setModel(ListModel) is called and Listheader.setSortDirection(String) is set.
- Listheader.setSortDirection(String) is called.
- Model receives ListDataEventand Listheader.setSortDirection(String) is set.
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
Version | Date | Content |
---|---|---|
5.0.7 | April 2011 | Listbox shall sort model based on current state. |