Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (template)
Viewing all articles
Browse latest Browse all 26

Picker in ListView item....

$
0
0

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


Viewing all articles
Browse latest Browse all 26

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>