I’m using a single column picker wheel in my latest app to allow people to select one of a number of values , I see from the docs that I can startIndex when I create the wheel, but I can’t seen to work out how to change that selection outside of the initial call.
I need to allow users to edit existing values from a DB, but no matter what i’ve tried it doesn’t seem to do anything, for instance, here’s the original definition (measures is a simple table containing string values):
picker = widget.newPickerWheel{
id = "chooseSizePicker",
font = "CenturyGothic",
top = 185,
columns = measures,
}
and here’s what I’ve tried to do in Scene:enterScene (obv using storyBoard)
picker.columns[1].startIndex = 6
…but nothing triggers…
Anyone know why?
TIA
MrC [import]uid: 45444 topic_id: 32380 reply_id: 332380[/import]
also, is there any way to dynamically add items to the picker’s column(s) after it’s been instantiated? [import]uid: 45444 topic_id: 32380 reply_id: 128795[/import]
also, is there any way to dynamically add items to the picker’s column(s) after it’s been instantiated? [import]uid: 45444 topic_id: 32380 reply_id: 128795[/import]
Was this question answered? Because I would like to do the same thing. I want to update the picker wheel from global context when I switch to the storyboard that contains the picker. 
Hi @chris841, @crussell,
At this time, the pickerWheel doesn’t support post-instantiation adding/removing of column data. You would need to replace the widget with the updated data.
Best regards,
Brent Sorrentino
Was this question answered? Because I would like to do the same thing. I want to update the picker wheel from global context when I switch to the storyboard that contains the picker. 
Hi @chris841, @crussell,
At this time, the pickerWheel doesn’t support post-instantiation adding/removing of column data. You would need to replace the widget with the updated data.
Best regards,
Brent Sorrentino