org.zkoss.zul.grid.autoSort"
From Documentation
Jimmyshiau (talk | contribs) (Created page with "{{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zul.grid.autoSort Default: false [Since 5.0.7] Specifies whether to sort the model when the following cases:...") |
Jimmyshiau (talk | contribs) |
||
Line 24: | Line 24: | ||
{| border='1px' | width="100%" | {| border='1px' | width="100%" | ||
! Version !! Date !! Content | ! Version !! Date !! Content | ||
+ | |- | ||
| 5.0.7 | | 5.0.7 | ||
| April 2011 | | April 2011 |
Revision as of 04:05, 23 June 2011
Property:
org.zkoss.zul.grid.autoSort
Default: false [Since 5.0.7]
Specifies whether to sort the model when the following cases:
- Grid.setModel(ListModel)is called and Column.setSortDirection(String) is set.
- Column.setSortDirection(String) is called.
- Model receives ListDataEventand Column.setSortDirection(String) is set.
If you want to ignore sort when receiving ListDataEvent, you can specifies 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.
<grid>
<custom-attributes org.zkoss.zul.grid.autoSort="true"/>
...
Version History
Version | Date | Content |
---|---|---|
5.0.7 | April 2011 | Grid shall sort model based on current state. |