I’m setting up a pickerWheel for the user to choose a date following this very nice code example at http://docs.coronalabs.com/api/library/widget/newPickerWheel.html .
What confuses me, though, is as I cannot seem to find or be able to implement a simple function, where I could programmatically increment/decrement a certain value (for example when the user clicks on a button “next week”, how can I add 7 to the days column?).
I would appreciate any help and tips, as the single solution that comes to my mind, is to delete the existent pickerWheel and set up a new one with new values using the “startIndex” option. There should be a simpler way, I suppose
Cheers, Pjanc