Listview Properties

Select the Listview control on the Screen Design page to view and configure its properties.

You can have only one Listview control per screen.

General Listview properties

Property Description
Input data binding Select the key with which to bind the Listview control from the drop-down, or click New key to create a new key.
Alternate row color Click Color Picker to select the color for the alternate rows in the list.

You can also manually enter the value. The possible values are black, blue, brown, gray, green, orange, pink, purple, red, white, yellow, any string with the format #rrggbb, where rr, gg and bb are the hexadecimal values, in the range 0 to ff(255), for the red, green and blue.

Note: The alternate row color attribute is supported on Windows Mobile devices only.
On empty list The text that appears on the screen when the Listview is empty.
Show header When selected, column titles appear in the ListView control.
Wrap data in PRE and CODE tags If the text to be displayed on the device contains HTML, HTML tags, or HTML or XML escape characters, or is enclosed inside < or > (less than and greater than characters), use this option to display the data as text on the device. If this option is selected, HTML markup and tags, and other characters, are filtered out.

For example, if this is the input: Sybase <an SAP Company> SUP and you do not select this option, the output looks like: Sybase SUP on the device. The text inside the <> characters is not displayed. To display the text, select this option.

For example: &apos; &amp; &lt; &gt; &#955; &#X03bb;
  • \]
  • \xA9
  • \251
  • \u00AE
  • \uQA1029
  • &quot;
Locale specific display This option is enabled only with DATE, DATETIME, and TIME logical types. If selected, the content of the cell is rendered in Locale Display format.
Listview details screen Select the screen that will be opened when the user clicks a row.

Cells

Property Description
Cell lines The lines that appear in each row of the control. Click Add to add a new line. Select an existing line and click Delete to remove a line from the row. Use the Up and Down buttons to move the cell lines up or down.
Fields for cell line Click Add to create a new field.

Click Edit to edit an existing field.

Click Delete to delete an existing field.

Use the Up and Down buttons to move the cell line fields up or down.