How Do I Create an iOS Modal Pickwheel in a column?
This Lesson presents how to create a column containing an iOS Modal Pickwheel control in a datagrid, using the Data Grid Helper Plugin.
Opening Columns Builder
Building Columns in the Columns Builder Preview
Pickwheel Creation Using Custom Objects and Column Content
Update Columns Builder Preview
Click the Update button to refresh the Column Builder Preview content (1).
A field named "_ColumnData_" will also be automatically added in the Column Content.
Remove this field by selecting it's name in the Object List of the Column Content Area (2), after the field is selected in the Column Content, on your keyboard, press the Delete or suppr key.
Editing The Pickwheel Field
Using DGH To Build The Required Script
Confirming the warning message
Editing The Pickwheel items in the Pickwheel's column script
Click the Script Editor icon and select the "Edit Script" menu.
Content for the pickwheel is added by DGH in the EditValue handler.
In the EditValue handler, locate this line:
put "Item 1" & cr & "Item 2" & cr & "Item 3" & cr & "item 4" into tThePickList ## Add your list here
And replace it by:
put "myFirstItem" & cr & "mySecondItem" & cr & "myThirdItem" into tThePickList ## Add your list here
Apply the script's change by clicking on the Apply button of the Script Editor.