Hi,
I'm using a template to display a picker inside a ListItem. This works, but how do I pre-select a row of the picker using picker.setSelectedRow()
?
I figured I could use the postlayout
event in the picker's template, but then realized picker does not have this event, as the docs only show it supports change
and click
.
Is there a way to do this? or a way to get a reference to the picker programmatically after the ListItem is rendered?
Platform: iOS, Ti SDK 3.2.1, Alloy
TIA