<list-sort-by>

The <list-sort-by> element will sort a list by a specified column. This element can sort the items of a list control on a list screen, or the items in detail screen field with an edit type of list view. The column to sort the list on is specified in the elements column attribute. If the specified column cannot be found or if the list cannot be sorted on the column a script error is thrown.

Structure

Contains:
  • None
Contained By:
  • <script>
Attributes
Name Description Data Type Default Value Required
column This attribute specifies the column upon which the list should be sorted. This may be either the column header label text or the position of the column from left to right, with the left-most column at position 1. string None Yes
common list attributes This element includes the following common list attributes:
  • name
  • id
  • label
N/A N/A N/A
common script attributes A set of related attributes common to most elements within the Agentry Test Script. N/A N/A N/A