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]