PATH |
WOSortOrder
Component Description
A WOSortOrder component enables the user to sort the objects displayed by a WODisplayGroup. It displays an icon representing the current sorting order ( unsorted, ascending, or descending.) When the user clicks the icon, the component modifies the display group's sort orderings and redisplays the display group's objects.
Synopsis
WOSortOrder { displayGroup=aDisplayGroup; key=aString; [displayKey=aString;] };Bindings
- displayGroup
- The display group that receives the new sort order specification.
- key
- The key corresponding to the attribute to sort by.
- displayKey
- A user presentable string corresponding to
key
. The user's browser displays a tooltip above the sort order icon: "Push to toggle sorting order according to displayKey." Defaults tokey
.