org.zkoss.zul.grid.autoSort"

From Documentation
(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:...")
 
m
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
'''Property:'''
 
'''Property:'''
 
  org.zkoss.zul.grid.autoSort
 
  org.zkoss.zul.grid.autoSort
 +
 +
{{NestedLibraryProperty}}
  
 
  Default: false
 
  Default: false
Line 10: Line 12:
 
*<javadoc method="setSortDirection(String)">org.zkoss.zul.Column</javadoc> is called.  
 
*<javadoc method="setSortDirection(String)">org.zkoss.zul.Column</javadoc> is called.  
 
*Model receives <javadoc>org.zkoss.zul.event.ListDataEvent</javadoc>and <javadoc method="setSortDirection(String)">org.zkoss.zul.Column</javadoc> is set.  
 
*Model receives <javadoc>org.zkoss.zul.event.ListDataEvent</javadoc>and <javadoc method="setSortDirection(String)">org.zkoss.zul.Column</javadoc> is set.  
If you want to ignore sort when receiving <javadoc>org.zkoss.zul.event.ListDataEvent</javadoc>, you can specifies the value as '''ignore.change'''.
+
If you want to ignore sort when receiving <javadoc>org.zkoss.zul.event.ListDataEvent</javadoc>, you can specify the value to be '''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.
 
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.
Line 24: Line 26:
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 +
|-
 
| 5.0.7
 
| 5.0.7
 
| April 2011
 
| April 2011

Latest revision as of 09:48, 7 July 2016


org.zkoss.zul.grid.autoSort


Property:

org.zkoss.zul.grid.autoSort
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.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 to be 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

Last Update : 2016/07/07


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


Last Update : 2016/07/07

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