Titanium.UI.TableView.filterAttribute

Property of Titanium.UI.TableView.
Platform Since
Android 0.8
iPhone 0.8
iPad 0.8
Permission: read-write

Summary

Filter attribute to be used when searching.

Type

String

Description

This property maps to your data object or a property on the row object. For example, if you set filterAttribute to 'title', the table view shows only those rows that contain the current search text in the title property.

Note that the filter is not anchored to the beginning of the string. So typing "ha" in the text box will include rows titled 'Harold' and 'Harvard', but also 'Sharon' and 'Jonathan'.