Difference between revisions of "Setting the Sort Order on a List View"

From SmartWiki
Jump to: navigation, search
(Setting the Field Sort Order)
m (Reverted edits by Arthur (talk) to last revision by Ciaran Donnelly)
Line 5: Line 5:
 
* Once you have selected the fields to be displayed and have saved your list view, the Sort Order tab will appear.  
 
* Once you have selected the fields to be displayed and have saved your list view, the Sort Order tab will appear.  
 
* In this tab, you can set the default sort order for the records in the list view.
 
* In this tab, you can set the default sort order for the records in the list view.
{{SortOrderOnListView}}
+
* '''NOTE:''' Read-only fields cannot be sorted against. As a result such fields are not included in the List View Builder on the Sort Order tab.
 +
 
 +
[[Image:Sortordertab.png]]
 +
 
 +
# Click on the "Add" button to add rows to the Sort Order definition.
 +
# Choose a field that the list view should be sorted by, by default.
 +
# Choose the "Direction" in which the sort should occur.
 +
:* "Ascending" will sort the selection from A to Z, from 0 to 9.
 +
:* "Descending" will sort the selection from Z to A, from 9 to 0.
 +
 
 +
* In the example above, the list view will be sorted by:
 +
** ''first name'' (A to Z), then, within sets of matching first names,
 +
** ''last name'' (A to Z), then, within sets of matching first and last names,
 +
** ''email addresses'' (A to Z)
 +
 
 +
Note that this process defines the ''default'' sort order for the list view. The list view can be re-sorted using the "[[Sort By]]" feature within the list view.
  
  
 
{{ListViewFooter}}
 
{{ListViewFooter}}

Revision as of 14:52, 4 December 2014

caption Click here to watch a video on creating and editing List Views.

Setting the Field Sort Order

  • Once you have selected the fields to be displayed and have saved your list view, the Sort Order tab will appear.
  • In this tab, you can set the default sort order for the records in the list view.
  • NOTE: Read-only fields cannot be sorted against. As a result such fields are not included in the List View Builder on the Sort Order tab.

Sortordertab.png

  1. Click on the "Add" button to add rows to the Sort Order definition.
  2. Choose a field that the list view should be sorted by, by default.
  3. Choose the "Direction" in which the sort should occur.
  • "Ascending" will sort the selection from A to Z, from 0 to 9.
  • "Descending" will sort the selection from Z to A, from 9 to 0.
  • In the example above, the list view will be sorted by:
    • first name (A to Z), then, within sets of matching first names,
    • last name (A to Z), then, within sets of matching first and last names,
    • email addresses (A to Z)
Note that this process defines the default sort order for the list view. The list view can be re-sorted using the "Sort By" feature within the list view.



See Also