<list-select>

The <list-select> element will select an item in a list. This element can be used to select items in the list control of a list screen, in detail screen fields with an edit type of List View, or when the edit type of a detail screen field is List Tile View. This element may also be used to deselect an already selected item in the list. List items can be selected based on row position or column value. The contents of the <list-select> element will be the value to search for in a specified column when select by column value. Of the row cannot be found or selected in the list a script error is thrown.

Structure

Contains:
  • Text - The value of a column by which the item will be found and selected.
Contained By:
  • <script>
Attributes
Name Description Data Type Default Value Required
column This attribute specifies the column by which the item will be found. This may be either the columns header label text or a numeric value specifying the column’s position from left to right, with the left-most column at position 1. This attribute is set to “none” for List Tile View detail screen fields. String None Required when the row attribute is set to a value of “text.”
select This attribute specifies whether to select or deselect the row. The value t is true and will result in the row being selected. The value f is false and the row will be deselected. String t No
common list attributes This element includes the following common list attributes:
  • name
  • id
  • label
  • row
     
common script attributes A set of related attributes common to most elements within the Agentry Test Script. N/A N/A N/A