Databinding on Picker

You must Login before you can answer or comment on any questions.

Hi,

I'm trying to bind a collection to a picker. But i can't. This is what I tried.

<Alloy>
    <Collection src="book" />
    <Window class="container">
        <Picker dataCollection="book">
            <PickerRow title="{title}" />
        </Picker>
    </Window>
</Alloy>
It works if I change the Picker for a tableview and the tableViewRow for pickerRow.

any idea?

1 Answer

Your Answer

Think you can help? Login to answer this question!