Skip to content
Titanium SDK
Version12.6.2

You are reading 12.6.2. See this page in 13.4.1.

ListDataItem

pseudoAndroidiPhoneiPadmacOSsince 3.1.0

Represents displayed item data.

In addition to the properties defined below, you can define custom key-value pairs, which bind to the child templates of an ItemTemplate. The key for these pairs match the bindId of the child view templates and the values are a dictionary of view properties applied to the view components. Any other properties that are not identified by a bindId are permitted but are ignored by the item template.

See Titanium.UI.ListItem for examples of using a list data item.

Properties 2

Contains key-value pairs of view properties and their values that are applied to the ListItem.

If there are properties set in the ItemTemplate (not the children view templates), the values set in the list data item override the template's properties.